Hi,
I have used you script the first time and got the following crash:

I used the recently release KLayout 0.29 (Windows 11 x64). Maybe there was a change here that lead to the problem, but I have not explicitly tested it on the previous version.
Maybe it is as simple as a missing entry in the dictionary in centerRulerDock.py on line 135. There no value "auto_metric_edge" is present.
Hi,
I have used you script the first time and got the following crash:

I used the recently release KLayout 0.29 (Windows 11 x64). Maybe there was a change here that lead to the problem, but I have not explicitly tested it on the previous version.
Maybe it is as simple as a missing entry in the dictionary in centerRulerDock.py on line 135. There no value "auto_metric_edge" is present.