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 those.Originally posted in cdnusers.org by adbeckett
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.