From 024101afe8244f6c9e8e09ad297fb80a4a669cce Mon Sep 17 00:00:00 2001 From: ramox81 <184937705+ramox81@users.noreply.github.com> Date: Mon, 5 Oct 2026 12:14:59 +0300 Subject: [PATCH] Name the center mark/line action body in the associative data rows The codec now reads AcDbCenterMarkActionBody and AcDbCenterLineActionBody as a SmartCenterActionBody variant; the Properties associative-data rows label it "Center Mark/Line Action". The codec dependency is patched to the fork commit that adds the variant. Co-Authored-By: Claude Opus 5.5 --- Cargo.toml | 3 +++ src/entities/object_data.rs | 1 + 2 files changed, 4 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index c8e80051b..ded1962d4 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -181,3 +181,6 @@ harness = false [[test]] name = "integration" path = "tests/integration.rs" + +[patch."https://github.com/HakanSeven12/opencadcodec.git"] +opencadcodec = { git = "https://github.com/ramox81/cadcodec.git", rev = "164a091" } diff --git a/src/entities/object_data.rs b/src/entities/object_data.rs index b0056a369..bb1bb7e95 100644 --- a/src/entities/object_data.rs +++ b/src/entities/object_data.rs @@ -903,6 +903,7 @@ fn associative_data_name(data: &AssociativeData) -> &'static str { AssociativeData::ArrayParameters(_) => "Array Parameters", AssociativeData::ArrayActionBody(_) => "Array Action", AssociativeData::ArrayModifyActionBody(_) => "Array Modify Action", + AssociativeData::SmartCenterActionBody(_) => "Center Mark/Line Action", AssociativeData::DimensionAssociation(_) => "Dimension Association", AssociativeData::PersSubentManagerStatic(_) => "Static Subentity Manager", AssociativeData::ViewRepActionBody(_) => "View Representation Action",