Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • Marco
    Participant

    Dear 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=False option. 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

    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

Viewing 2 posts - 1 through 2 (of 2 total)