That shows how to import a cell from the GDS file and add pins to it in order to use the full Nazca tool set to connect it to the rest of your circuit, just like any other building block.
You can change the layer number of an imported GDS by using a ‘layermap’ argument.
‘layermap’ maps the original layer to a new layer. Omitted layers will not be changed.
For example, you can change layer #1 from a loaded GDS to layer #10 using the following syntax:
import nazca as nd
nd.load_gds(
...
layermap={1:10},
...)
One more question, in the Cell definition by enabling autobbox, the cell will be surrounded by a box. Now, is it possible to get dimension and position of this box?