fix(blocks): block_explode keeps attribute text as TEXT (BURST rule) on both engines

virtual_entities() yields geometry only, so an exploded tagged symbol lost
its tag value silently. Every attached ATTRIB now becomes a TEXT at the
same WCS placement/height/rotation/style/layer (invisible stays
invisible), reported as attribute_texts. COM reads GetAttributes before
Explode, deletes the ATTDEF placeholders Explode returns, AddText per
value, and deletes the reference ActiveX Explode leaves behind.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FKFStjEFzpGyLq5bMpWxTd
This commit is contained in:
Umut CAN
2026-09-16 21:26:27 +03:00
co-authored by Claude Opus 5
parent b9510bf377
commit 19610b8f05
5 changed files with 247 additions and 6 deletions
+3 -1
View File
@@ -220,13 +220,15 @@ TOOL_ALIASES: dict[str, ToolAliases] = {
),
),
"block_explode": ToolAliases(
acad=("EXPLODE",),
acad=("EXPLODE", "BURST"),
synonyms=(
"explode",
"break a block apart",
"ungroup",
"split a block into entities",
"flatten a symbol",
"burst a block",
"explode and keep the attribute text",
),
),
"block_find_references": ToolAliases(