Reading the
@unknownuser said:
NOTE: calling add_group with entities in its parameters has been known to crash SketchUp before version 8.0. It is preferable to create an empty group and then add things to its Entities collection.
I'm asking if this is the bug case or is my mistake?
I have a group of 2 lines and want to group the first line.
I have put this in the ruby console:
group1=Sketchup.active_model.selection[0]
group1.entities.add_group(group1.entities[0])
The result is that the line is not in the subgroup ,but in the new group outside the group1.
If I delete it,it is also deleted in the group1.
I would expect to have 1 group(group1) , 1 subgroup with the line and 1 ungroupped line inside group1.
Is it a bug?


