V
vlsidesign
Guest
Was hoping to get a hint. I have a shape (at top/current level of
heir) and I want to check to see if that shape overlaps a particular
cell with a certain name. It looks like the dbGetTrueOverlaps is
probably what I need to get all the instances. I've noticed that when
there are instances buried down in the hierarchy that it gives me a
hierarchical list of sorts.
I want to (unless there is a better way) somehow traverse through
these and look at each cell's dbID "name" attribute and then compare
it with a regular expression. It seems like I may need some sort of
clever "recursion" of sorts to do this, because I can't find an API
like getInstTransform that can deal with this hierarchy and give me
the name attribute of each cell in hierarchy.
Just wondering if I am on the right track, or if I am overlooking
something easier. The recursion and map functions are little tricky
for me, perhaps I will be more comfortable after working with and
experimenting with them.
Any thoughts are appreciated.
heir) and I want to check to see if that shape overlaps a particular
cell with a certain name. It looks like the dbGetTrueOverlaps is
probably what I need to get all the instances. I've noticed that when
there are instances buried down in the hierarchy that it gives me a
hierarchical list of sorts.
I want to (unless there is a better way) somehow traverse through
these and look at each cell's dbID "name" attribute and then compare
it with a regular expression. It seems like I may need some sort of
clever "recursion" of sorts to do this, because I can't find an API
like getInstTransform that can deal with this hierarchy and give me
the name attribute of each cell in hierarchy.
Just wondering if I am on the right track, or if I am overlooking
something easier. The recursion and map functions are little tricky
for me, perhaps I will be more comfortable after working with and
experimenting with them.
Any thoughts are appreciated.