feat(properties): add 3D Visualization group + General Plot style/Hyperlink
Per the COMMON section of PROPERTIES.md. Insert a "3D Visualization" group (Material, Shadow display) after General for every graphical object, and add Plot style + Hyperlink rows to General. Material / plot style / shadow are sourced from the entity's flags (ByLayer / ByBlock / custom); resolving a custom material or plot-style handle to its name, and reading the hyperlink from XDATA, are follow-ups that need document access. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
parent
b9cebab951
commit
f4c60a39a9
2 changed files with 62 additions and 0 deletions
|
|
@ -18,6 +18,9 @@ pub fn properties_sectioned(
|
|||
text_style_names: &[String],
|
||||
) -> Vec<PropSection> {
|
||||
let mut sections = vec![properties::general_section(entity)];
|
||||
if let Some(viz) = properties::visualization_section(entity) {
|
||||
sections.push(viz);
|
||||
}
|
||||
let groups = entity.geometry_properties(text_style_names);
|
||||
if groups.is_empty() {
|
||||
sections.push(properties::fallback_properties(handle, entity));
|
||||
|
|
|
|||
Loading…
Reference in a new issue