I have a collection of boxes that belong to a layer called “Boxes”. This is the way I create every box:
entities = model.active_entites model.active_layer = 'Boxes' gr = entities.add_group gr.name = "box_" + box_name entities = gr.entities # Here I define the faces of the box
box_name is requested by a UI.inputbox. The boxes are correctly generated.
The question is, how to delete a specific group? I provide a name to the box, but I just don’t know how to have access to a group and remove it. Sorry, I’m new to the Ruby API.