There are several ways to delete an object but there are also three things you should know before proceeding with deletion:
- You have to decide whether you want to delete only one reference (delete object locally) or all the references (delete object globally). For instance, if the object you wish to delete has several parents, for example A, B and C, you have to decide whether you want to remove the object as the child of a given parent (for example A) or whether you want to entirely remove the object from the project.
- You cannot remove an object that is not a direct descendant of its visible parent. If A is the father of B and B is the father of C, and if B is not visible, C appears as the child of A. In this case, you cannot remove C because it would impact B and you have no information about B. To remove this instance of C, you have to find a projection where you can see both B and C.
- Removing all the instances definitively removes the object from the project. In addition, this is recursive, meaning that all the children that are no longer descendants of the root object will be removed. Let us take the following example: C has two descendants, D and E. However, E is also a descendant of F (F is not a descendant of C). Removing the object C would therefore remove C and D from the project but not E.
For more information on object hierarchy, see Object Hierarchy.
To remove object references (either locally or globally), you can use the Delete entry in the right-click menu in the treeview or in the Internal Block Diagram. See Filter definition for Local/Global deletion for basic principles of objects deletion.
Removing a single object
If you want to remove only one object, the following confirmation window will appear:

Select Locally if you want to remove only a specific reference to the object.
Select Globally if you want to remove all references to the object in the project.
If the object in question has only one reference, Locally button will be disabled because removing one reference will remove the object completely from the project.

Removing multiple objects
If you want to remove several objects, the following dialog will appear:

Locally(delete one reference) list contains objects which references are to be removed only locally
Globally(delete all references) list contains objects which are to be removed completely from the project
To be kept list contains objects which shouldn't be removed at all
By default all selected objects are put into the Locally list.
Specific behavior (exceptions):
- Objects that can be removed only globally (they are automatically placed into the Globally list and marked with red, these objects cannot be moved into the Locally list)
- Objects with only one reference
- Objects in the treeview of the type for which Master property is set on filter level (See Filter definition for Local/Global deletion)

- Objects that can be removed only locally (they are automatically placed into the Locally list and marked with blue)
- Objects in the treeview of the type for which Secondary property is set on filter level (See Filter definition for Local/Global deletion)

- Objects in the treeview of the type for which Secondary property is set on filter level (See Filter definition for Local/Global deletion)
Using navigation buttons you can adjust the lists according to the needs: move objects between Locally and Globally list (if allowed) or put objects into the 'To be kept' list.
Removing objects completely
To remove all the references to an object, you have to use the Dictionary window. Select the object(s) and press Delete.
Select All Objects of the Same Type
In a given Internal Block Diagram view, it is possible to Select all of the same type. In this way, you can delete all objects of a given type visible in your diagram. However, this action only applies to non-flow objects. Any objects existing in other digram views are not included in the selection.
or press the F5 key.