Hi Chris,

Thank you for your advice. It now works (more or less). The
biggest problem (for me) was to realise that I should connect the
output of GetLocal to the Output of the macro instead of the
output of the List.

Another problem is that appending to the List fails if one of the
elements is NULL. Therefore, I added an Inquire("is not empty")
and a Route.

The ForEachMember construct in the macro appears to be the slowest
part of the network.

Thanks again,
Paul



Well, I'm doing this in my head, but I believe you want GetLocal to go to the first input of List, with the current extract to the 2nd input, then List goes to SetLocal and to Output. The macro doesn't yield an Output til the end of the loop, then the List (which now has n members, not 2) spits out.

All macro iteration is inherently slow, but it's such a boon that it exists, since it defies "standard" data flow. Hard to believe we used to live without it. Dark Days (pre-93 or thereabouts)!
--
Chris Pelkie
Scientific Visualization Producer
618 Rhodes Hall Cornell Theory Center, Cornell University
Ithaca, NY 14853

Reply via email to