To create an expression parameter
The Create Parameter dialog box appears.
Name | Тhe name of the parameter. Parameter names are case-sensitive and cannot begin with a number. |
---|---|
Type | Expression: Sets the parameter as an expression one. When you select this option, the Expression, Min and Max options become available. |
Selection: Sets the parameter as a selection one. When you select this option, the Expression, Min and Max options become unavailable. | |
Expression | For expression parameters, specifies the expression that EngView uses to compute the value of the parameter. An expression can consist
of mathematical expressions, mathematical functions in the currently applied template, and already-existing
parameters. To include other parameters in an
expression, make sure they precede the current parameter in the tablular area. You can include in the parameter expression all functions and
parameters predefined in the applied parameter template. The browse button ![]() |
Min | For expression parameters, sets the minimum value that the parameter may take. When no value is set, the field is empty. |
Max | For expression parameters, sets the maximum value which the parameter may take. When no value is set, the field is empty. |
Description | Notes about the parameter. When you attach the parameter to a drawing, this description appears as a tooltip when in the tabular area you rest the mouse pointer over the name of the parameter and also in the parameter's Remarks column in the tabular area. |
Scope | Local: Makes the parameter valid only for the drawing in which you create it. |
Global: Makes the parameter valid for all the drawings of the project. | |
Group | A list of all currently available parameter groups in the project. Select the groups that you want the parameter to be assigned to. |
TIP: To use a function from the template, type or copy the name of the function.
In the tabular area, the parameter now appears at the bottom of the list of parameters. Because EngView computes parameters in top-down order, a parameter expression cannot cite a parameter that comes after it. That is why, you need to move the newly created parameter to where it is needed for the correct computation of parameters.
TIP: You can create a parameter at a specific place in the list of parameters. To do so, select the existing parameter that you want to come after the new parameter, right-click, and then click New Parameter Above.