ATTDEF: dialog, -ATTDEF prompts, tag display, Properties and ribbon

Attribute Definition dialog and Edit Attribute Definition dialog, -ATTDEF
with the reference prompts and modes (AFLAGS), tag shown in the drawing,
justification-aware grips, reworked Properties with validation, Home Block
slide-out and Insert Block Definition panel, and the codec patch for
ATTDEF DXF output and the R2013+ solid wire cache.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
ramox81andClaude Opus 5.5 committed 2026-10-01 13:55:32 +03:00
1 parent 3dcebf0dc6
commit c5790c74a9
48 files changed
+2501 -435

No files matched your search

+12
View File
@@ -617,6 +617,18 @@ fn build_defn(
continue
}
_ => {
// A standalone definition draws its tag; as block content a
// constant one draws its value.
let shown;
let entity = match entity {
EntityType::AttributeDefinition(ad) => {
let mut value = ad.clone();
value.tag = ad.default_value.clone();
shown = EntityType::AttributeDefinition(value);
&shown
}
other => other,
};
// A wide polyline inside a block carries its `world_width` on
// the LocalWire; `emit_wire` scales it by the insert transform
// so the shader band matches the scaled geometry (same band the