The Rule editor is displayed when you click the Rule icon () in the Knowledge tool bar. It lets you:
Insert the feature definition in a rule. In the specification tree, double-click the feature whose definition you want to insert.
|Lets you select a feature in the specification tree or in
the geometry area and displays in the editor only the first level of
features right below the selected feature, which is very useful when
working with large models. Suppose your document contains a Geometrical Set
feature which itself is made up of several Shape Design points.
If you press Incremental, selecting the Geometrical Set feature in the specification displays only the first level of parameters below the Geometrical Set (the point coordinates are not displayed.)
If you press Incremental again to disable it, selecting the Geometrical Set feature displays all the parameters related to the points (the parameters which define the coordinates are included into the list.)
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.
|Lets your visualize syntax errors.|
|Lets you indent the rule body.|
|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.
|Lets you reach the line containing the syntax error.|
|Lets you to associate a URL or a comment to the formula. For more information, see Associating URLs & Comments with Parameters and Relations.|
|Lets you erase the contents of the edition window.|
Two contextual commands improving display are available in the contextual menu:
To help you write a rule, the Rule editor provides you with a dictionary. This dictionary exposes the list of parameters and functions you can use to define a rule. To insert any definition in the Rule 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 Rule editor. Only the argument definitions are missing.
|Analysis Operators||Circle Constructors||Design tables|
|Direction Constructors||Electrical Functions||Generative Functions|
|Operators||Part Measures||Plane Constructors|
|Point Constructors||Pointer Objects||String|
|Surface Constructors||Wireframe Constructors|
|For more information about the items displayed in the Dictionary, see Engineering Knowledge Language (EKL) or select one of the items and press the F1 key in CATIA. For more information about rules, see Creating a Rule.|