Deleting All Features Except Selected Ones

You can delete all the features of a representation, except those you want to keep.

When you select a feature to keep, all features that are needed to build it properly are also kept, that is:

  • All its direct and indirect parents
  • All its direct and indirect aggregating elements
  • All the direct and indirect aggregating elements of the direct and indirect parents.

However, you cannot propagate the status of a feature to keep to its children (i.e. features that use the feature to be kept as an input).


Before you begin: Here is the representation used for this scenario:

  1. From the Tools section of the action bar, click Delete All Except.
    The Delete All Except... dialog box appears. It lists all the features and sets that can be deleted along with their status and their type.
    Important: The PartBody and reference planes cannot be deleted: the reference planes are never displayed but the PartBody is displayed because its status can be switched even if it cannot be deleted.
    Tips:
    • You can select features to keep before launching the command: their status will be set as Keep in the dialog box.
    • You can modify the size of the dialog box: it is kept when restarting the command.
    • You can select a feature in the tree: the corresponding line in the dialog box is highlighted.
    • You can alphabetically sort features, statuses and types by clicking on the gray title bar.
  2. Select the solid features check box to switch to Keep (or a derived status) the status of all solid features and related features (this option is not selected by default).
    The status is modified accordingly and features to be kept are highlighted in the tree.
  3. Right-click PartBody\Geometrical Set.1 and select Keep all components contextual item.
    This status is propagated to all features related to the selected feature.
    Important:
    • Conversely, you can reset the status of a feature that has been manually kept by selecting the Reset or Reset all unreferenced components contextual item.
    • You can also access the following commands when using the context menu: Center Graph, Reframe On, Hide/Show.
    • You can choose the features you want to keep but not the features affected by the Keep operation.
    • You can select and deselect the solid features check box as long as you have not manually switched the status of a feature. However, it is unavailable once you have manually modified the status of a feature.
  4. Click OK.
    The Confirm Delete dialog box appears.
  5. Click OK to confirm the deletion.
    Note: If there is nothing to delete, the OK button is disabled.


Note: Here is the list of possible statuses:
  • Keep: this status is always a manually specified status (i.e. it is not an inherited status).

    You can always reset it to its former Delete status.

  • Keep (propagated): this status concerns features that are related to a feature having a Keep status (either a parent or an aggregating element).

    It concerns both geometrical features and sets. If it concerns a set, it can be switched to the Keep all components status. If not, it cannot be changed manually.

  • Keep all components: this status concerns sets only and is always a manually specified status. The set could either have had a Delete or a Keep (propagated) status before it was switched to the Keep all components status.

    This status can be reset using the Reset all unreferenced components contextual option. If the set was related to at least one feature with a Keep status, it has a Keep (propagated) status. Otherwise, it has a Delete status.

  • Keep all components (propagated): this status concerns sets only. It means that all the components of a given set have a Keep status. Therefore the status of the set cannot be switched to Keep all components, since its components are already all kept.
  • Delete: all features that do not have one of the above statuses have a Delete status. It is the default status of each feature in the dialog box, except for the PartBody that can never be deleted.

For more information about deleting geometry and features, refer to Part Design User's Guide: About Deleting Geometry and Deleting Features. Refer to Deleting Useless or Unreferenced Elements for deleting the unreferenced elements.

For more information about deleting the Boolean operations performed within the ordered geometrical sets, refer to Deleting Boolean Operations Performed within OGSs.