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].explode
Chris
-
Yes the explode works as well.
Thanks
Chris
Advertisement