Removing Unused Definitions from a Project
When you use components, symbols, models, packages, materials, and scripts in a project design their definitions are added to the project .aedt file, and are visible in the Project tree Definitions folder. These definitions remain in the project .aedt file across sessions even if you delete every instance of their usage from the project’s designs.
Because the project version of a given definition takes precedence over all other instances of that definition—even a revalued definition in a newly exported PersonalLib library file—unused definitions still present in a project can lead to unintended results if you do not delete them.
Typically, a component definition has a symbol definition associated with it. Some components, such as VHDL-AMS components, also can have model and package definitions associated with them. Because of these dependencies, you cannot remove a symbol, model, or package definition until you have first removed the component definition that uses them. Thus you may need to perform the following procedure several times to completely remove a component definition and its associated definitions.
- If you have removed every usage instance of a definition from a project, you can remove its Definitions entry by selecting Tools > Project Tools > Remove Unused Definitions. The Unused Definitions dialog box appears.
- Select definitions to delete. Select individual definitions using the check boxes next to each, or click Select All to choose all definitions in the list.
- When finished selecting definitions to delete, do one of the following:
- Click Apply to remove the selected items while remaining in the dialog box. You can continue removing definitions.
- Click OK to remove the selected items and exit the dialog box.