Parameters Manager (Block Editor)

GstarCAD 2027 → What's new

Function Description:

In the Block Editor, the Parameter Manager displays a consolidated view of all parameters and user-defined properties within the block definition.

Command Access:

Icon: 

Menu Item: /

Ribbon: Block Editor > Manage > Parameters Manager

Toolbar: /

Command Line: PARAMETERS

Command Alias: /

Command Prompts: /

As shown in the figure, the parameters manager window pops up after executing the command:

The Parameters Manager palette includes a grid control with three columns (Name, Expression, Value) by default. You can add one or more additional columns (Type, Order, Show, or Description) using the shortcut menu.

List of Options

The following options are displayed.

ColumnDescription
NameDisplays the variable name
ExpressionDisplays the real number or the equation for the expression, for example, d1+d2
ValueDisplays the value of the expression
Additional Columns
TypeDisplays the dimensional constraint type or variable value
OrderControls the order properties are displayed in the Properties palette
ShowDisplays the parameter as a property of the block reference
DescriptionDisplays the comments or notes associated with the user variable

The Type column affects the formatting of the parameter in the Parameters Manager and Properties palette. It also affects the value of the parameter when the block is scaled.

TypeUnitsPrecisionBlock Scale Factor
DistanceLUNITSLUPRECScaled by scale factor
AngleAUNITSAUPRECNo scale
RealDecimalLUPRECNo scale
AreaDecimalLUPRECMultiplied by square of scale
VolumeDecimalLUPRECMultiplied by cube of scale
StringNot applicableNot applicableNot applicable

The Type cell for User parameters displays a drop-down list of the value types. The parameter can be sorted and can be set to Show or Hide in the Properties palette. The value of the parameter resets to 1 when you change the type from String to another type.

Parameters can be renamed; equations and values can be entered or modified. Changes to a parameter name are immediately updated throughout the table and in the Block Editor.

The parameters for the block definition are organized in the following categories:

1)Action Parameters

2)Dimensional Constraint Parameters

3)Reference Parameters

4)User Parameters

5)Attributes

You can only add user parameters to the table. When you delete any item from the table, the item is automatically deleted from the block definition.

Create a Dimensional Variable

To create a dimensional variable, you apply a dimensional constraint to an object in the Block Editor. Dimensional variables are displayed under the Dimensional Constraint Parameters group header in the Parameters Manager palette.

User variables are custom variables that enable you to create and drive object relationships. These variables can contain constants, or equations.

Click the New User Parameter icon on the Parameters Manager palette to create a user variable. Alternatively, double-click an empty cell to create a user-defined variable.

User variables have the following characteristics:

  • Default values are: Name = user1, Expression = 1, and value = 1.00.
  • Name should be alphanumeric.
  • Expression values should be within the range of -1e100 and 1e100.

Edit a Dimensional Variable

You can edit the dimensional variable name and expression. To do so:

  • Double-click the name or expression box.
  • Select the row and press F2. Press the Tab key to edit the contiguous columns.
  • You cannot edit the Value column.

When you rename a dimensional variable, all instances of the variable are updated in the drawing and in the Parameters Manager palette.

Delete a Dimensional Variable

When you delete a dimension variable:- The associated dimensional constraint in the drawing is removed.

  • The variables retain the value calculated by the expression as a constant. This action is for variables referenced by other variables, and ensures that the geometry does not change.

Filtering the Display of Variables

You can filter the display of variables to do the following:

  • Display All Parameters- Displays all associative variables. No filter is applied.
  • Display Parameters Used in Expressions - Displays all variables that contain expressions to evaluate a value, and variables contained in expressions.

Sorting a Column

The sort order is not affected when you change a cell value.

Searching a Parameter

An edit box in the upper-right corner of the Parameters Manager allows you to search for parameters by name.

Shortcut Menu Options

The following options are displayed on the shortcut menus in the Parameters Manager palette.

Column Header Shortcut Menu
ExpressionDisplays or hides the Expression column.
ValueDisplays or hides the Value column.
TypeDisplays or hides the Type column.
ShowDisplays or hides the Show column. The Show property can be set for dimensional constraint parameters and user parameters created in the Block Editor only. This property is read-only and is set to No for dimensional constraint parameters and user parameters which are created in the drawing editor.
OrderDisplays or hides the Order column.
DescriptionDisplays or hides the Description column.
Maximize All ColumnsDisplays all columns using the maximum value in each column as the base.
Row Shortcut Menu
Delete ParameterDeletes the selected parameters from the drawing and the Parameters Manager.
Convert ParameterConverts dimensional constraints and user parameters to constraint parameters and user parameters.
Cell Shortcut Menu
CutRemoves the value from the cell and pastes it to the clipboard.
CopyCopies the value in the cell and pastes it to the clipboard.
PastePastes the immediately transferred value from the clipboard.
DeleteDeletes the value from the cell based on the selection.
ExpressionsDisplays a list of functions for use in the expression column (available only within the Expression cell)

Original help · © Gstarsoft Co., Ltd.