Commit Graph
4 Commits
Author SHA1 Message Date
Jon Breen 661d0776a3 Keep saved pixel paper units on kept plot settings
The inherited-unit repair for group 72 now applies only to saved inch or
millimeter values (0 or 1). A layout saved in pixels (2) keeps 2 when its
units are unchanged, including after a device-only edit; an explicit unit
edit still writes its unit.
2026-11-23 20:31:49 -06:00
Jon Breen 0611bad380 Review: Model flag on kept plot settings; shade groups only where the version defines them
write_plot_settings takes the layout's model flag and passes it to the baseline
call. Kept group 70 always has bit 1024 set for Model and cleared for paper
layouts. Plot groups 76 to 78 are written from AC1018 and 333 from AC1021, and
333 only when the object it names is saved.
2026-11-23 15:50:38 -06:00
Jon Breen ff0e4173d3 Review: inherited paper units follow a changed MEASUREMENT
A layout that inherits its paper units wrote back the file's group 72 after
MEASUREMENT changed, so it reopened with the old unit. Group 72 is now
rewritten when it no longer matches the unit the drawing applies.
2026-11-23 15:14:16 -06:00
Jon Breen 94d9e3542f Save: every layout keeps its plot settings, the Model layout included
See the pull request description for the cause, the change and the tests.
2026-11-23 15:14:16 -06:00