change layer name and layer color at launch?

edited June 10 in Python scripting

Hi there!

I'm trying to implement this feature of changing the existing layer name and color at launch, I wonder is there any possible way to achieve it? I am currently using the layer_info to change the name, however it will not update on the display on the right side of the layer pannel



  • Hi Andy,

    Colors, names and display styles are managed in layer properties files. You can tell KLayout to load a display properties file together with a layout either on the command line:

    klayout layout.gds -l layer_props.lyp

    or you configure KLayout to always load such a file together with any layout ("File/Setup"):

    you can also set up "technologies" to switch between different setups before you load a layout.


  • I see thank you very much!


Sign In or Register to comment.