Deleting Project Variables
To delete a project variable:
- Remove all references to the variable in the project, including dependent variables.
- Save the project to erase the command history.
- Click Project > Project Variables to display the Properties window with list of variables. You can also access the Project variables from a menu in the lower left corner of the following Optimization windows: Parametric, Optimization, Sensitivity, Statistical, Design of Experiments, and Design Xplorer Setup. Click Edit Variables and from the menu select Edit Project Variables.
- Select the variable and click Remove and OK.
To remove all unused project variables that are not in use (that is, not in the undo/redo command history):
- Remove all references to unused project variables, including dependent variables.
- Save the project to erase the command history.
- Click Project > Project Variables to display the Properties window with list of variables. You can also access the Project variables from a menu in the lower left corner of the following Optimization windows: Parametric, Optimization, Sensitivity, Statistical, Design of Experiments, and Design Xplorer Setup. Click Edit Variables and from the menu select Edit Project Variables.
-
Click Remove and from the drop-down menu, select Remove All Unused and click OK.
All variables that are not in use (not in undo/redo history) are removed.
To force remove all unused project variables:
- Remove all references to unused project variables, including dependent variables.
- Click Project > Project Variables to display the Properties window with list of variables. You can also access the Project variables from a menu in the lower left corner of the following Optimization windows: Parametric, Optimization, Sensitivity, Statistical, Design of Experiments, and Design Xplorer Setup. Click Edit Variables and from the menu select Edit Project Variables.
- Click Remove and from the drop-down menu, select Force Remove All Unused and click OK. A warning message asks whether you want the unapplied changes in the property window to be applied, and clear undo/redo history. If you select No, nothing happens. If you select Yes, all unapplied changes are applied first, and undo/redo history is cleared; all variables that are not used are removed (including those that are only in undo/redo history before this command is executed).