Oops, your profile's looking a bit empty! To help us tailor your experience, please fill in key details like your SketchUp version, skill level, operating system, and more. Update and save your info on your profile page today!
🛣️ Road Profile Builder | Generate roads, curbs and pavements easily Download
How to get nested attributes?
-
I have a dynamic component that has many layers of nested components. After I select the most parent component I'm trying to write a script that will work through the levels and get the attributes of the nested components. I can't figure out how to reference to the nested ENTITY's from the selected ENTITY.
-
Instances do not have their own entities - it uses the entities of its definition, so..
ins = Sketchup.active_model.selection[0] entities = ins.definition.entitieswill give you the entities collection for the instance.
Advertisement