Searching/Deleting Unused Elements
To search or delete unused elements (scalar, composite, complex) in the state machine, proceed as follows:
In the Extras menu, select Show Unused Elements.
The Search Results view opens below the drawing area. It shows all elements listed in the Outline tab, but not used in the state machine.
A state machine element is used if at least one of the
following conditions is fulfilled.NOTICE
Component functionality may be damaged
Deleting an element that is unused in the currently loaded variant, but used in other variants, will probably damage the functionality of the other variants.
To avoid this damage, check the affected variants before you delete the element.
- In the Elements tab of the Search Results view, select one, several, or all (<Ctrl> + <a>) elements.
Do one of the following:
Open the context menu and select Delete.
Press <Delete>.
The selected unused elements are deleted.
See also
Actions/Conditions in Separate Diagrams