forked from 1b-agent/opencadstudio-upstream
Merge pull request #850 from ramox81/codex/associative-center-mark
This commit is contained in:
commit
b648000e78
21 files changed
+1672
-241
No files matched your search
@@ -13,6 +13,10 @@ use acadrust::EntityType;
|
||||
pub fn ui_name(e: &EntityType) -> &'static str {
|
||||
match e {
|
||||
EntityType::Point(_) => "Point",
|
||||
EntityType::Line(line)
|
||||
if acadrust::entities::CenterMarkAssociation::read(&line.common.extended_data).is_some() => "Center Mark",
|
||||
EntityType::Line(line)
|
||||
if acadrust::entities::CenterLineAssociation::read(&line.common.extended_data).is_some() => "Center Line",
|
||||
EntityType::Line(_) => "Line",
|
||||
EntityType::Circle(_) => "Circle",
|
||||
EntityType::Arc(_) => "Arc",
|
||||
|
||||
Reference in new issue
Block a user