Support Forum

Layer mapping on load

User
LayoutEditorFull
Monday 22nd April 2024
I am working on different technologies and have an exported layer definition macro for each (mapping gds layer types to different LayoutEditor layers). I have map layer on open/save ticked in gds set up. To avoid issues when changing between technologies, I currently open a blank layout and execute the appropriate layer macro before loading a file. Would I be better to enable load layer setting in working folder (under the user interface)? Alternatively, is there an option to specify the layer definition as part of the program execution command?
Jürgen
LayoutEditorFull
Monday 22nd April 2024
As you have described it, there are more than one ways to load the layer setup. Anyone has pro and cons. Which one works best for you, only yourself can decide. As you use a layer-mapping you need to run a macro. This can be called from the menu or called automatically by placing a *autoLayerMacro.layout* macro file next to the design and activating the mentioned autoload option. The autoload option can be activated in the setup or by the '-a' command line option. The autoload option will only be affective when opening a design by double click or calling it from the command line. A file/open operation will not trigger it. There is currently no command line option to specify the name of the setup macro. However a startup script for the LayoutEditor doing that by copying the correct macro as *autoLayerMacro.layout* next to the design and then start the LayoutEditor itself with a '-a' option should be straight forward.
User
LayoutEditorFull
Friday 26th April 2024
Thanks, your reply includes all the information I was after.