Searching/Deleting Unused Elements
To delete elements (scalar, composite or complex) not used in the SWC block diagram, proceed as follows:
In the Extras menu, select Show Unused Elements.
The Search Results view opens below the drawing area or the editor area. It shows all elements listed in the Outline tab, but not used in the component.
An element is used in the SWC 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 – e.g., the unused interrunnable variables –, 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