It looks like you're new here. If you want to get involved, click one of these buttons!
In the windows "Search And Replace", in the "custom" tab, I think that we can select all the instance of a cell given by its name (i.e. AND3) in a given area given by its 4 extreme coordinates X1, Y1, X2, Y2 .
But what is then syntax ?
instances of cell TOPLEVEL.* where cell_name ~ "AND3" where ...
Thank you, Best regards,
Laurent
Comments
Hi Laurent,
the syntax is:
-200 is the left coordinate of the bounding box, 1340 the right one etc. All coordinates are given in database units.
Matthias
And how to all of select them ?
Thanks,
Laurent
And how to all of select them ?
Actually, I need to select all the cells beginning with "xyz_" and flatten them
Thanks, BRgds,
Laurent
There is no "select found objects" yet. Sorry.
Matthias
I tried to write a macro, but I don't know how to flatten an instance :
Best regards,
Laurent
But I got an error :
Hi Laurent,
in general it's not safe to iterate a collection (instances) while manipulating it (implicitly done in 'flatten').
Hence this is the code I'd recommend. It's collecting the instances to delete in a first pass and then doing the flatten in a second one:
Matthias
Thank you Matthias !
Collecting the instances before also allows to add a very useful Progress bar :
Laurent