Home › Forums › Nazca › Creating a Dummy Polygon for Reference: Drawing on Void Layer or Removing › Reply To: Creating a Dummy Polygon for Reference: Drawing on Void Layer or Removing
18 April 2023 at 13:53
#6958
Marco
Participant
Dear 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