1 Reply Latest reply on Jun 11, 2018 8:54 AM by samantha_lizak

    DESIGNrev: remove all polygons and references underneath a rectangular area

    papa_g

      Hello All,

       

      I'm hoping this is the correct place to post this question.  In DESGINrev, is there a way of efficiently removing all shapes (polygons, references, paths, etc.) that lie beneath a rectangular area that is specified at the top level cell?  My goal is to take an existing (~40GB) tiled GDS database, and "chop" a rectangular hole in it from the top level and through the rest of the hierarchy.  My intention is to then drop in another IP block within that "hole".  I understand how to do this by hand editing in the DESIGNrev gui, however, the process is slow, tedious, and prone to error.  If anyone has any advice they can share for efficiently accomplishing such a task, I would be very grateful.  Thank you!

       

      Best Regards,

       

      George

        • 1. Re: DESIGNrev: remove all polygons and references underneath a rectangular area
          samantha_lizak

          Hi George-

           

          Yep, this is the right place. Have you tried $L delete clip?  (You would need to construct a clip first, of course.)  I can't tell from the documentation if it deletes the clip object from memory, or deletes the contents of the clip from the layout.

          If that doesn't work and you really want to use DESIGNrev, it does accept Tcl -- you could create a script that for a selected region (clip) gets a list of objects in the region and then iterates over the list to delete each one.  (I think it would be simpler to just create the clips, write those out as a layout, and XOR the two databases, but that isn't DESIGNrev.)

           

          For adding the new IP, assuming it is in the same layers, coordinates, precision, etc., as the original, there is an example in $L create cell.

           

          Best-

           

          Sam.