Here's a puzzle for you DX hackers. How do you maintain an
integer-to-object mapping in a DX network?
All I need is a basic one-to-one mapping between non-negative integer keys
and object values, objects (slice clipping polygons) that are created
dynamically during net execution. Each mapping's value can be either a
field or NULL, and mappings can be replaced. E.g.:
map[0] = obj0
map[1] = NULL
map[2] = obj1
The only thing I've found so far that works is a bit of a hack: use a named
group, convert the slice numbers to strings with Format, and use these
strings to index the Group. CollectedNamed -> GetGlobal -> Inquire("has
member", slice_num_str ) -> Switch: if yes delete it with ChangeGroupMember ->
Append -> SetGlobal.
Can this "replace" operation be done with without the string hack? Can it
be done without testing membership and deletion?
Thanks,
Randy
--
Randall Hopper (mailto:[EMAIL PROTECTED])
Lockheed Martin Operation Support
EPA Scientific Visualization Center
US EPA MD/24 ERC-1A; RTP, NC 27711