Quantcast
Channel: Jason Andrews Blog
Viewing all articles
Browse latest Browse all 33813

RE: determine if an object is part of a ROD

$
0
0
Hi Dan, I don't think there is a simple function to do this. I searched back and found I'd answered this as follows for a customer a few years ago: The only way I can think of doing this is to do something like: procedure(abIsObjPartOfMPP(obj) (rodGetObj(obj) || exists(rodId rodGetNamedShapes(obj~>cellView) member(obj rodId~>subShapes) )) && t ) If doing this repeatedly, it would probably be more efficient to cache all the subShapes in a table so you can use a hash lookup instead of using member (which will be less efficient). But I'll leve that as an exercise for you! Regards, Andrew.

Viewing all articles
Browse latest Browse all 33813

Trending Articles