Forum Replies Created
-
AuthorPosts
-
27 June 2023 at 22:36 in reply to: Creating a Dummy Polygon for Reference: Drawing on Void Layer or Removing #6988
Marco
ParticipantDear lomuc,
In general I do not think there is in Nazca a straightforward way of removing an object in Nazca.
A not so straightforward way would be to use the cell iterators (see this tutorial https://nazca-design.org/inverted-mmi-creation/) to rebuild the full structure filtering out the objects you do not need, but that would require some work.
If I guess right and you just want to delete the cell that was left empty by the removal of some layer at the previous step, I would suggest to create the cell with the
instantiate=Falseoption. If a non instantiated cell is put in another cell, the content of the child cell will be put directly in the parent cell when you export, and so the parent cell will not be visible in the final gds.I this in not what you have in mind, please be more specific about your problem and I can see if I can help.
Marco
18 April 2023 at 13:53 in reply to: Creating a Dummy Polygon for Reference: Drawing on Void Layer or Removing #6958Marco
ParticipantDear lomuc,
I would simply remove the layer used for that polygon when you export the gds. In order to do that, you can provide the argument ‘layermap’ to the export gds function. Layermap accepts a python dictionary {<old_layer>:<new_layer>} that maps gds layer during the export fase. The layer can be specified in any nazca supported format, namely an integer for the layer number, a tuple for layer number and datatype, or a string for the name of the layer.
To remove a layer from the exported gds, just map the layer to None.
Marco
-
AuthorPosts