Dear All,
I've got a rather strange problem with invalid positions, in that they
still get displayed. My network is as follows:
I have a field, IH, with invalid positions (this is displayed properly). I
then use replace on a second field (T) to add an invalid positions
component. I then use drape to display T. The strange thing is that the
entire field is displayed, when I select the invalid position component. I
get the right mask. I am rather puzzled. I've attached a log file of the
two fields.
Cheers
magi



I've seen weirdness in this op before also. Do an experiment and Remove('invalid positions') from IH before Replace and see if that helps. I presume you're using the byte form of invalids (byte values of 00 and 01) rather than the indexed (ref) form.

Depending on how you created the invalid positions array, you may need to add an Options("dep", "positions") call to provide the explicit and required dependency to your array, before Replace. (This only works correctly if you have the bare array in hand, otherwise, that attribute will be uselessly appended to the field containing the array. You get the bare array with Extract of course.)

[You don't sound like you have any expectation that Replace will somehow do a 'bitwise-and' operation, which of course it won't, but you could do that in Compute if ever needed.]

Chris Pelkie
Vice President/Scientific Visualization Producer
Conceptual Reality Presentations, Inc.
30 West Meadow Drive
Ithaca, NY 14850
[EMAIL PROTECTED]

Reply via email to