XML Console

I would like to suggest that an XSD-based XML console would be introduced to facilitate the design of Dynamic components in XML tree. It could be an extension.

“Please explain in more detail what you mean, perhaps with an example.”

Edited:

Thanks for updating your profile!

Also your forum profile indicates you are using: License Type: SketchUp Make (desktop)
SketchUp Version: 2017

  1. It doesn’t allow you to design Dynamic Components.
  2. This version wont change at all.

If you are using other SketchUp version / licence, please update your forum profile.

No, I have the Sketchup 2024. I’ll check my profile again.

I think in this topic you need to explain what you think is the connection between XML (a markup language) and Dynamic Components, which are a Ruby extension to SketchUp. Do you mean that you would like to use XML to specify the attributes of Dynamic Components? If so, please explain what is the advantage to that over the interface already provided by the DC extension?

1 Like

I have just updated my profile.

1 Like

In my point of view, the advantage would be the ability to see the component and its subcomponents within a single tree integrated view like in an XML editor.
The Sketchup interface allows modeling DC by using the Outliner and the Component Attributes Interface. The first shows the tree structure of a DC and the second the attributes of the selected DC in the outliner.
Alternatively, It’s possible to use only the Component attributes interface performing several clicks.
Both possibilities may be a bit tiresome with complex components.

Actually this is a kind of a good idea. When we first created what later became Dynamic Components, we used a text editor and XML to attach attributes to geometry. We could do simple edits like Find and Replace much faster in a text editor than in the DC UI. I think it should be possible to export DC attributes and edit them. The challenge will be maintaining the connections to the geometry.

2 Likes

Thank you, Peter. If a xsd file is provided, the connections to geometry are assured since ui uses the same xsd.