L
layoutDesign
Guest
I am working with flat data (because the XL connecitvity down the
hierarchy is not there). More specifically, I am working with
cv~>shapes (where cv is the current cellView). I want to create a list
of a subset of those shapes based on if the shapes are a rectangle and
a particular layerName. Here is a snip of my current code.
shapes = cv~>shapes
foreach(shape shapes
if( shape~>objType == "rect" && shape~>layerName == "VIA2"
newShapeList = cons(shape newShapeList)
)
)
This is taking way too long. Maybe I could cut down my time in half
but iterating/checking through cv~>shapes once? I suspect that
creating this massive "shapes" list is a big problem. Any other tips
would be great on this situation and/or your dealing with flat/massive
amounts of data. Thanks
hierarchy is not there). More specifically, I am working with
cv~>shapes (where cv is the current cellView). I want to create a list
of a subset of those shapes based on if the shapes are a rectangle and
a particular layerName. Here is a snip of my current code.
shapes = cv~>shapes
foreach(shape shapes
if( shape~>objType == "rect" && shape~>layerName == "VIA2"
newShapeList = cons(shape newShapeList)
)
)
This is taking way too long. Maybe I could cut down my time in half
but iterating/checking through cv~>shapes once? I suspect that
creating this massive "shapes" list is a big problem. Any other tips
would be great on this situation and/or your dealing with flat/massive
amounts of data. Thanks