Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Creating a layer with a name

Hello everyone,

I am successful in creating layers in my python script, and can, after running it, right-click the layers and rename them. However, I cannot create the layers with a name in the first place.

using the layout.layer(number, datatype, name) doesn't seem to work. I've also failed doing this using a LayerInfo object.
Can you please help?

Thank you very much,


  • I tried and I observe the same. The attribute can be read correctly, but if a new value is assigned to it, this value is not memorized and not shown in the layer panel.

  • Hi all,

    The layout layer names and the names inside the layer list are entirely different things. The layer name in the layout is a database property. The name of the layer in the layer list is for display purposes.

    In GDS you can't write layer names, just numbers. You can create layer with a name, but the layer number is the primary information and as soon as you write the layout the layer name will be lost.

    So if you want the layer to be shown with a name you have to supply a name in the layer list. The best solution is to use a layer properties file with the proper mapping.


Sign In or Register to comment.