-Parameters
Use the -Parameters command create and edit Constraint expressions and values.
It is the command window variant of the Parameters command.
The command lists:
- Names of the Dimensional Constraints
- Expressions, in which you can use:
- Values
- User-defined variables, and variables that represent existing Dimensional Constraints
- Mathematical operators, functions, and constants
- Values that result from the expression
For detailed information about using expressions and variables, see Defining Dimensional Constraints Parameters.
The command provides the following options:
- ?: Displays all user-defined variables.
- Delete: Deletes the specified user-defined parameter.
- Edit: Changes the expression of a specified user-defined parameter.
- New: Creates a new user-defined parameter.
- Rename: Renames the specified user-defined parameter.
To list all Dimensional Constraints or user-defined variables:
- Type -Parameters at the command prompt.
- Type ? to display all user-defined variables.
To create user-defined variables:
- Type -Parameters at the command prompt.
- Type New and press Enter.
- Type the name of the new parameter.
- Type the expression for the new parameter.
To delete Dimensional Constraints or user variables:
- Type -Parameters at the command prompt.
- Type Delete and press Enter.
- Specify the name of the parameter to delete.
- If the variable is referenced by a Dimensional Constraint in the drawing or in an expression, you are prompted to confirm deletion.
To rename Dimensional Constraints or user variables:
- Type -Parameters at the command prompt.
- Type Rename and press Enter.
- Type the name of the parameter to rename.
- Type the new name of the parameter.
To edit expressions of a Dimensional Constraints or user variables:
- Type -Parameters at the command prompt.
- Type the name of the parameter for which you want to edit the expression.
- Type Edit and press Enter.
The existing expression and its value is displayed.
- Specify the new expression with operators, functions, variables and values.
Command: -Parameters