cancel
Showing results for 
Search instead for 
Did you mean: 

Remove Component Group

Creator
Creator

How can I remove Component Group (test in the picture) inside Component Groups in Part? I can remove all the components within the group but not group itself.

remove-component-group.PNG

 

I use Java, but if you point to an interface/method it is fine without the example.

 

Please let me know,

Alen

1 REPLY

Re: Remove Component Group

Siemens Phenom Siemens Phenom
Siemens Phenom

 

We used to call these "component sets".  We have an example program (Open C) on the Solution Center, and you should find it right away if you search for this string:

 

DELETE_SPECIFIED_COMPONENT_SET

 

It cycles for objects in the part of type UF_component_set_type, and then checks the name of each one.  When it finds the right one, it deletes it with UF_OBJ_delete_object().