Load Layer Properties file in "or" mode

edited July 2013 in KLayout Support
Hi Matthias,

Firstly, this is a very good and useful software, thank you for creating it!

I have 2 gds files belonging to the same technology.
File1 : has 10 layers
File2 : has the same 10 layers, plus another 2 layers.

If I open File1 and save the layer properties into "tech1.lyp", then open File2 and load "tech1.lyp", the additional 2 layers in File2 are missing in the layout.

I feel this might be an issue if there are like over 50 layers and the user is not attentive enough, or uses somebody's old lyp file.

Is it possible to not let the lyp file totally overwrite the layer list ?

Thanks.

Comments

  • edited November -1

    Hi Wimbur,

    The .lyp file was intended to define the information displayed and to act as a display filter.

    You can make a layer properties file to show all the remaining layers in some default color and style by adding the following entry at the end of the file:

    <layer-properties>
     ... normal content
     <properties>
      <source>*/*@*</source>
     </properties>
    </layer-properties>
    

    Another option is to use "Add Other Layer Entries" from the layer list's context menu - this will basically do the same, but must be triggered manually.

    Regards,

    Matthias

Sign In or Register to comment.