Can anyone help me out writing a skill code that will calculate the area of diffusion in a layout.The top level contains many instantiated blocks.So i have to take the layer fron those blocks also.the diffusion are of various shapes(path,rectangle,even in guard rings).
Thanks and Regards,
See solution 11328674
Thankyou that solution was quite helpfull.But i faced 1 more problem.
I am not able to flatten "mosaicInst" ,is there a way to flatten it.For mosaicInst it is giving error like:
*Error* dbFlattenInst: invalid instId or mosaicId - <some dbid for mosaicInst>.
1 more thing how to find the area if the layer forms a rectangular ring.
That solution doesn't use dbFlattenInst, so I'm not sure why you need that. You must be using IC5141 because mosaicInst objects only exist in CDB - these are component pieces of a mosaic rather than the mosaic itself, and you should not attempt to flatten them. Instead you'd need to find the mosaics from cvId~>mosaics - these can then be flattened with dbFlattenInst.