Does SketchUp delete empty groups?
-
I'm trying to have some empty groups in my model, which could hang around for a while, even across separate sessions of SU. They are locked. However, when I draw anything, it deletes my groups! Rude...
i.e.:
myGroup = Sketchup.active_model.entities.add_group myGroup.name = "My Group" myGroup.locked = true
Then use the Rectangle tool to draw a rectangle, and watch the new group disappear from the Outliner.
Is there a way around this?
-
Yea - SU tries to clean up some times. If you for instance erase all the entities in a ComponentDefinition that definition will disappear. (Though I'm not exactly sure when SU does that.)
Could you place a CPoint in it?
Advertisement