Hi Andrew,
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.
Regards,
Kashfi Israr