Purges parametric variables not used by constraint expressions and not linked to dimensions.

## Accessing the Command

command bar: **cleanunusedvariables**menu bar:

**Parametric | Delete Unused Parameters**

toolbar:

**Parameters |**

ribbon:

**Solids | 3D Constraints | Delete Parameter**

: **cleanunusedvariables**

When used parametric variables are cleaned, reports:

**** 9 unused variables were removed**

When no unused variables exist in the drawing, this message is displayed:

**** No unused variables detected**

## Command Options

No options.

## Related Commands

Parameters - manages dimensional constraint parameters and user variables in the current drawing.

Dimconstraint - applies a dimensional constraint to an entity or between constraint points on entities; converts associative dimensions to dynamic dimensions.

DcAligned - constrains the distance between two points.

DcAngular - constrains the angle between two lines or linear polyline segments; the total angle of an arc or an arc polyline segment; or the angle between three points on entities.

DcConvert - converts an associative dimension to a dimensional constraint.

DcDiameter - constrains the diameter of a circle or an arc.

DcHorizontal - constrains the horizontal distance (X-distance) between two points with respect to the current coordinate system.

DcLinear - constrains the horizontal distance (X-distance) or vertical distance (Y-distance) between two points with respect to the current coordinate system.

DcRadius - constrains the radius of a circle or an arc.

DcVertical - constrains the vertical distance (Y-distance) between two points with respect to the current coordinate system.

Delconstraint - removes all dimensional and geometrical constraints from an entity.