The Formula editor is displayed when you click the icon in the Reactive Features tool bar. This editor enables you to:
|
|
|
Clicking a feature in the specification tree or in the geometry area displays in the editor only the first level of features right below the selected feature. In the figure above, all the parameters related to the Pad.1 and Hole.1 features are displayed. Clicking Pad.1 in the tree (Incremental unchecked) will display the parameters below:
PartBody\Pad.1\FirstLimit\Length
PartBody\Pad.1\SecondLimit\Length
PartBody\Sketch.1\Radius.3\Radius
Checking Incremental mode () restricts the list of parameters to the one below:
PartBody\Pad.1\FirstLimit\Length
PartBody\Pad.1\SecondLimit\Length
Note that when you click this button, the editor does not recognize parameters any longer. So if you enter the name of a parameter into the editor without selecting it in the specification tree or in the geometry, it will not be recognized.
When working in non incremental mode, the whole assembly
is scanned to access the parameters. In incremental mode, the assembly or
the process is not scanned. Clicking a feature in the geometry or in the
specification tree allows you to access the parameters related to this
feature and to use it. It is highly recommended that you use the non incremental mode for a standard use. Use the incremental mode only when working in big assemblies. |
This filter allows you to narrow the list of displayed parameters by specifying a substring. If you specify *Limit* as filter, only the parameter with Limit as sub-string will be displayed, for example:
PartBody\Pad.1\FirstLimit\Length
PartBody\Pad.1\SecondLimit\Length
PartBody\Hole.1\HoleLimit.1\Depth
PartBody\Hole.1\HoleLimit.1\Angle
This filter allows you to restrict the list of parameters by specifying a type. Selecting User parameters will display only the parameters created by New Parameter of type. Selecting Hidden parameters will display only the list of parameters which have been declared as hidden by selecting Hide from the value field contextual menu.
Hide is only available for user parameters. |
Basically, the parameter list displays the parameters related to the feature selected either in the specification tree or in the geometry area. If no feature has been selected, all the document parameters are displayed. The dialog box being open, you can select a given feature either in the tree or in the geometry area and display its related parameters.
You can restrict the list of displayed parameters by using the Filter Name and Filter Type capabilities as well as the Incremental button.
This field displays the parameter which has been selected from the parameter list. The value field on the right-hand side is grayed out when the parameter is constrained by a formula, a design table or any type of relations. Right-clicking this value field provides you with a number of commands whereby you can refine the parameter definition.
This button allows you to create a user parameter. This user parameter can be assigned a single value or multiple values (akin to the enum idea).
This capability operates only for user parameters.
When a parameter which is constrained by a formula is selected from the parameter list, clicking Delete Formula removes the formula.
This capability allows you to import parameters and parameter values from a text file or from an Excel file (Windows).
When you create a formula, you specify that a parameter, whatever its type, is to be constrained by a relation. Clicking Add Formula displays the Formula editor.
Two contextual commands improving display are available
from the contextual menu in the Formula editor:
|
See explanation above.
When clicked, this button lets you access a browser of types. To use this browser, you can either select the objects you want to work with in the geometry or click the ... button to select the type in the list.
|
Enables you to associate a URL or a comment to the formula. For more information, see Knowledge Advisor User's Guide: Associating URLs & Comments with Parameters and Relations.
Enables you to empty the editor.
To help you write a formula, the formula editor provides you with a dictionary. This dictionary exposes the list of parameters and functions you can use to define a formula. Depending on the category of objects to be referred to in the formula, the dictionary is divided into two or three parts. To insert any definition in the formula editor, double-click the object either in the dictionary or in the tree. If you double-click a function in the dictionary, its signature is carried forward to the formula editor. Only the argument definitions are missing.
The formula which is created is displayed in the parameters list as well as its activity.