Deleting Project Variables
Follow this procedure to delete a project variable:
- Remove all references to the variable in the project.
- Save the project to erase the command history.
- Select Project > Project Variables to display the Properties dialog box with a list of variables. You can also access the project variables from a menu in the lower-left corner of the following Optimization dialog boxes: Parametric, Optimization, Sensitivity, Statistical, Design of Experiments, and DesignXplorer Setup. Click Edit Variables > Edit Project Variables.
- Select the variable and click Remove Selected > OK. The variable can be removed if it is not in use.
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.
- Select Project > Project Variables to display the Properties dialog box with a list of variables. You can also access the project variables from a menu in the lower-left corner of the following Optimization dialog boxes: Parametric, Optimization, Sensitivity, Statistical, Design of Experiments, and DesignXplorer Setup. Click Edit Variables > Edit Project Variables.
- Click Remove. From the drop-down list, 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 design variables:
- Remove all references to unused project variables, including dependent variables.
- Click Project > Project Variables to display the Properties dialog box with a list of variables. You can also access the project variables from a menu in the lower-left corner of the following Optimization dialog boxes: Parametric, Optimization, Sensitivity, Statistical, Design of Experiments, and DesignXplorer Setup. Click Edit Variables > Edit Project Variables.
- Click Remove and from the drop-down list, select Force Remove All Unused and click OK. A warning message asks whether you want the unapplied changes in the property dialog 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).
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 dialog box with the list of variables.
- Click Remove and from the drop-down list, 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 design variables:
- Remove all references to unused project variables, including dependent variables.
- Click Project > Project Variables to display the Properties dialog box with the list of variables.
- Click Remove and from the drop-down list, select Force Remove All Unused and click OK. A warning message asks whether you want the unapplied changes in the Property dialog box 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. Then all variables that are not used are removed, including those that are only in undo/redo history before this command is executed.