I am using the bounding boxes of all shapes in a cell database at all hierarchy levels.Originally posted in cdnusers.org by ahamlett
I run into problems when encountering PCells that are stretched or otherwise altered since when opening the pcell I loose all the parameters.
Is there any way to access the drawn shapes in a pcell with parameters?
I searched and found this:
You can't - these only work with database objects in the current
cellView. You'd need to flatten first, or use a verification tool (e.g.
Diva, Assura) to do the layer manipulation. You could use
dbFlattenInst() to bring everything to the current cellView, or copy
the source shapes to dummy shapes in the top cellView and then work on
I've used a flow in the past where I've used
dbGetOverlaps to find hierarchical shapes, work out the transformation
by concatenating all the transforms, and then use dbCopyFig to copy
into the top level cellView, and then use dbLayerAnd on these shapes -
and then delete the "flattened" copies.
The data must be there because the shapes in a pcell have to be drawn. Can I access those "drawn" bBoxes through SKILL?