Switch edit-mode from script

Hi all.

I tried to switch between the edit mode and view mode in the following ways:

  • pya.Application.instance().set_config('edit-mode', 'false') starting klayout with the -e argument
  • pya.Application.instance().set_config('edit-mode', 'true') starting klayout without any arguments, and with the view mode as the default

and both ways are failing; is it possible to switch between the edit/view modes after klayout has started?

Comments

  • No sorry, that is not possible. Edit mode is a pretty basic decision and the application either runs in edit more or not.

    Matthias

Sign In or Register to comment.