Meaning of a trailing "@" in the layer name?

edited November 22 in Python scripting

What is the meaning of a trailing "@" in the layer name, for instance @ 1 in 1/0 @ 1? This appeared after I ran some Python code in the Macro Development environment, trying to visualize a created shape directly. From then on, even when I create a new layout/layer using the GUI, always the @ number appears after the layer name (layer number/datatype). How can I go back to "normal" (especially if the change can cause unwanted effects leading to harm or confusion)?

Comments

  • Hello,

    This is supposed to be the layout index: when you open more than one layout in the same panel, the layers of layout 1 have a "@1" added, the layers of layout 2 a "@2" etc... (It's not the layer name, it's the layer_number/datatype_number@layout_number...)

    Cheers,

    Tomas

  • Hi Tomas,

    Thanks for sharing your insight. I currently see 1/0 @ 1, 1/0 @ 2, and 1/0 @ 5 in my KLayout window. My understanding based on your response is that these hence refer to layer 1 in different layouts (1, 2, and 5). Is this understanding correct?

    If I want to have these three patterns all in the same layout, I should therefore see something like 1/0 @ 1, 2/0 @ 1, 3/0 @ 1 (i.e., layers 1-3 in layout 1), right?

    Hunter

  • Hello Hunter,

    Indeed, that's it. In the screenshot below I opened the same file 3 times in the same panel... You can see the 3 cell structures on the left. I don't get why you have @5 instead of @3... If you have 3 layers in 1 design in the panel you typically don't see the "@1", unless it is set like that in the setup.

    It could be that the "Always show layout index in layer source" box in the Setup got selected via your script...

    Cheers,

    Tomas

  • Hi Tomas,

    Thank you. That makes sense, and I was able to removed the "@" sign following your screenshot. The reason for seeing 5 instead of 3 is that I removed/closed some of the open views.

    Cheers,
    Hunter

Sign In or Register to comment.