feat(scale): drive scales from the drawing's scale list
Read the model-space annotation scale from the standard CANNOSCALE / CANNOSCALEVALUE header variables instead of a user-variable hack, and populate both the status-bar scale picker and the viewport Scale property purely from the drawing's ACAD_SCALELIST — no built-in fallback set. Xref-derived scales (`_XREF` suffix, `name|` prefix) are filtered out so only the host drawing's own scales appear. Bumps the patched acadrust to the commit that adds CANNOSCALE/ CANNOSCALEVALUE read/write. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
parent
b5ce376d5c
commit
edc8cbc969
8 changed files with 128 additions and 30 deletions
|
|
@ -34,6 +34,7 @@ windows-sys = { version = "0.61", features = ["Win32_UI_Shell", "Win32_UI_Window
|
|||
|
||||
[patch.crates-io]
|
||||
# Tracks HakanSeven12/acadrust main, which carries the hatch
|
||||
# boundary-handle cap, raster-image/wipeout clip-vertex fix, and 3DFACE
|
||||
# Z-decode fix on top of upstream. Revert to upstream once those PRs land.
|
||||
# boundary-handle cap, raster-image/wipeout clip-vertex fix, 3DFACE
|
||||
# Z-decode fix, and CANNOSCALE/CANNOSCALEVALUE header support on top of
|
||||
# upstream. Revert to upstream once those PRs land.
|
||||
acadrust = { git = "https://github.com/HakanSeven12/acadrust", branch = "main" }
|
||||
|
|
|
|||
Loading…
Reference in a new issue