Managing Parameters of a CustomBlock Definition

In the Block Editor, the Parameters palette lists all parameters, constraints, and attributes from the block definition.

  • Action parameters

  • Dimensional constraints

  • Dimensional parameters

  • User parameters

  • Attributes

You can do the following changes to parameters:

  • Rename parameters

  • Define new equations or modify existing ones

To display the Parameters Manager palette:

  • Do one of the following:

    • On the menu, click Constraints > Parameters Manager.

    • On the ribbon, click Constraints > Manage > Parameters Manager.

    • Type Parameters.

To create a dimensional constraint parameter:

  • In the Block Editor, apply a dimensional constraint parameter to an entity of a Block definition.

    In the Parameters palette, the dimensional constraint parameter appears under the Dimensional Constraint Parameters category.

To delete a dimensional parameter:

  1. On the Parameters list, under Dimensional Parameters, click a dimensional parameter.

  2. Click Delete user parameter dc_delete_variable . Alternatively, you can right-click the dimensional parameter and select Delete Parameter from the context menu.

    The corresponding dimensional constraint is removed from the graphics area.

    If the parameter is referenced by a Dimensional Constraint in the drawing or in an expression, you are prompted to confirm deletion.

To create a user-defined parameter for a CustomBlock definition:

  1. On the Parameters palette, click Create a new user parameter dc_new_variable .

    Under User-defined, a new entry appears.

  2. If necessary, in Name, edit the variable name.

    Note: Name cannot begin with a number, contain spaces, or exceed 256 characters.

  3. In Expression, type a value or an expression.

    The value that results from the expression displays In Value.

The Parameter Palette (Block Editor)

Toolbar

Button

See also

dc_new_variable

Creates a new user-defined parameter.**Note**: You can only add user-defined parameters to the list

dc_delete_variable

Deletes the selected parameter from the list

Filters

Lets you filter the display of user-defined variables in the list:

  • All parameters: Displays all user-defined variables.

  • Used parameters: Displays only the user-defined variables used in expressions.

  • Unused parameters: Displays only the user-defined variables not used in expressions. Right-click, then click Delete Parameter to remove unused variables from the list.

Search for a Parameter

Lets you search parameters by their name. Type the name of the parameter in the search box and press Enter.

Parameters List

In the list, parameters are grouped in the following categories:

  • Action parameters

  • Dimensional constraint parameters

  • Dimensional constraints

  • User parameters

  • Attributes

The list header columns represents the properties of the parameters.

By default, the Parameters palette lists:

  • Name. Displays names of the dimensional constraints

  • Expression. Display an equation or a value

  • Value. Values that result from the expression

  • Order. Lets you change the order of the properties displayed in the Properties palette

  • Show. Displays the parameter as property of the block reference

Additional columns include:

  • Type. Displays the type of the dimensional constraint or variable value

  • Description. Displays the notes associated with of the user variable

To show or hide columns, right-click the list header and use the context menu to display the desired columns in the list.

Clicking a column head sorts the parameters in an ascending or descending order.

At any moment, you can resize columns or move them to another position.

Use the Maximize All Columns option to display all columns using the maximum value in each column as the base.

Access

Command: Parameters

Menu: Constraints > Parameters Manager

Ribbon: Constraints > Manage > Parameters Manager

Related Topics

Hiding the Parameters palette

Defining Dimensional Constraints Parameters

Working with Constraints

Parent Topic

Adding Constraints