It looks like you're new here. If you want to get involved, click one of these buttons!
Sorry for newbie question. I need to rename cell layers based on external map file, so it should do what Layers | Rename command does but for all layers mentioned in map file.
Code iterate through current_view.each_layer(). However, name property is empty string and source always contain suffix that doesn't appear in GUI. I tried to assign values to name but this didn't affect values displayed in GUI. Assigning value to source duplicate layers.
Most likely I didn't mistakes in my assumptions about KLayout API, but what is right way to implement layer renaming?