Quantcast
Channel: Cadence Custom IC Skill Forum
Viewing all articles
Browse latest Browse all 5066

Bringing shapes up from lower level cells

$
0
0

 I am trying to copy a specific set of layers in all lower level cells up to the current level of hierarchy.  My current code is as follows:

 

info = geGetWindowCellView()

bbox = info~>bBox

all_objects = leSearchHierarchy( info bbox 32 "any shape" nil )

epi_objects = nil

foreach( shape all_objects

   layername = substring( shape~>layerName 1 3 )

   if( layername == "EPI" then

      epi_objects = cons( dbCopyFig( shape info ) epi_objects )

   )

)
 

 

This doesn't work correctly.  It copies each EPI from the lower level cell relatve to it's origin, to the top level relative to it's origin.  That is, they are all shoved down and to the left...  I want the EPI objects to be placed "where they belong", over their hieractical positions. 

Can someone please tell me how to fix it?


Viewing all articles
Browse latest Browse all 5066

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>