Closed NickKnatterton closed 1 year ago
The elif case is there only to cover the (now) unlikely case where project and partial layout was created in V5, then the layout was opened in V6 and plugin was invoked, bofore any refresh from schematics was executed. V5 did not hev sheetfile amd sheetname properties
Thanks for reporting though. I'll look into it, but it'll be a while
When restoring a plugin to a board with PCB-only components (e.g. mounting holes ) the plugin stops working.
This seems to be a similar problem as mentioned in the replicate layout plugin Replicate Layout issue 10 . Catching the exception as you did in the replicate layout plugin works here as well, but I do not fully understand the logic of the following elif/else ( Restorelayout.py L146 ) construct to judge any side effects.