mirror of
https://github.com/storytold/cadcraft.git
synced 2026-12-01 18:25:32 -06:00
A kept block reference or attribute context whose SCALE is no longer in the drawing's list is not written (its dictionary entry goes with it), so no context points at a null scale. A reference CADCraft's model keeps annotative has a context for exactly the scales it supports: contexts of scales it dropped go, and one per new scale is made from the default context, scaled by the ratio of the scales about the reference's insertion point. One context stays the default. Attributes are identified by reference, tag and their place among the reference's attributes with that tag, so two attributes with one tag keep their own extension dictionaries and contexts. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>