Remove Sub-Shapes

Remove Sub-Shapes allows removing sub shapes from wires, shells, compsolids and compounds.

To Remove Sub-Shapes in the active part:

  1. select in the Main Menu Features - > Remove Sub-Shapes item or

  2. click remove_subshapes_btn.icon Remove Sub-Shapes button in the toolbar

The following property panel will be opened:

../_images/RemoveSubShapes.png

Remove Sub-Shapes

  • Shape shape from which sub-shapes should be removed. Only wires, shells, compsolids or compounds are allowed for selection.

There are 2 options for removing sub-shapes:

by_removing By removing allows selecting sub-shapes to be removed.

  • Sub-Shapes to remove the list of sub-shapes which should be removed.

TUI Command:

model.addRemoveSubShapes(Part_1_doc, object)
Parameters
  • part – The current part object.

  • object – The object.

Returns

Created object.

Remove_SubShapes_1.setSubShapesToRemove(subShapes)
Parameters

list – A list of objects.

by_keeping By keeping allows select sub-shapes to be kept.

  • Sub-Shapes to keep the list of sub-shapes which should be kept.

TUI Command:

model.addRemoveSubShapes(Part_1_doc, object)
Parameters
  • part – The current part object.

  • object – The object.

Returns

Created object.

Remove_SubShapes_1.setSubShapesToKeep(subShapes)
Parameters

list – A list of sub-shapes to keep.

Result

The Result of the operation will be a shape without removed sub-shapes:

../_images/remove_subshapes_result.png

Remove Sub-Shapes

See Also a sample TUI Script of Remove Sub-Shapes operation.