The Designer's Guide Community Forum
https://designers-guide.org/forum/YaBB.pl Other CAD Tools >> Entry Tools >> Get Layout Objects in hierarchical view with skill https://designers-guide.org/forum/YaBB.pl?num=1249895575 Message started by Berti on Aug 10th, 2009, 2:12am |
Title: Get Layout Objects in hierarchical view with skill Post by Berti on Aug 10th, 2009, 2:12am Hi all, I got a hierarchical layout, where I need to adjust the sizes of the vias. For this purpose I started writing a skill script using the following commands: Code:
Unfortunately this only select the rectangles in the top view, but doesn't go down in the hierarchy. How can I get all the rectangles (vias) in a hierarchical view? Thanks for advices, Cheers |
Title: Re: Get Layout Objects in hierarchical view with skill Post by Andrew Beckett on Aug 15th, 2009, 6:59am You'll typically need to do some kind of recursive traversal of the instances (if you need to visit every instance) or instanceMasters (if going to each master once is sufficient). Assuming you want to visit just each master once, something like: Code:
Sorry if the formatting is not as neat as I would do usually - I just typed this in off the top of my head using a proportional font, so it's a little hard to make it all line up... (actually by the time I'd written that explanation, I could have done it!). Best Regards, Andrew. |
The Designer's Guide Community Forum » Powered by YaBB 2.2.2! YaBB © 2000-2008. All Rights Reserved. |