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!
🫛 Lightbeans Update | Metallic and Roughness auto-applied in SketchUp 2025+ Download
Grouping a selection of component instances
-
I want to group these component instances and the container, move it and then explode the group.
I have ruby code for selecting and moving, but I cannot figure out the code for making the group and exploding it. I would really appreciate help.Thanks
Chris
-
Hi Chris,
It's not documented, but try something like this:
grp = entities.add_group(selection) -
Works like a dream - many thanks! To explode I just need to identify the group like this?
entities[entityNo].explodeChris
-
Yes the explode works as well.
Thanks
Chris
Advertisement