Editor Basics
The sections below explain how to access the EKL editor as well as the details of how it uses Intelligent Code Completion to perform a wide variety of functionalities.
Accessing the Editor
There are many different ways to access the editor. They are detailed in the table below.
| Name of App | Command | Description |
|---|---|---|
|
Engineering Rules Capture Quality Rules Capture Quality Rules Reuse |
Rule
|
A rule is a set of instructions, generally based on conditional statements, where the relationship between parameters is controlled. |
|
Engineering Rules Capture Quality Rules Capture Quality Rules Reuse |
Check
|
A check is a multiline statement used to ensure that specific conditions are fulfilled. |
|
Quality Rules Capture |
Insert New Filter
|
Filters can be applied to the input variables of an instantiated check. They let you filter out checks that do not meet some criteria. Preconditions can be applied to a processing group so that it is excluded from the process in Quality Rules Configuration when the precondition is not met. |
|
Engineering Rules Capture |
Reaction
|
Reactions are features that let you create an EKL or Visual Basic script by specifying how to change certain feature attributes when an event occurs. |
|
Engineering Rules Capture Know-how Apps Components |
Knowledge Pattern
|
A knowledge pattern is a feature that lets you generate geometry and instantiate templates into 3D Part documents. It also lets you manage the instantiated objects in an associative manner and allows the automatic generation of repetitive structures with differences between each instance of the structure. Knowledge language is designed to write Engineering Rules Capture scripts that are executed at run time in the user app. |
|
Engineering Rules Capture Know-how Apps User Experience |
Action
|
The action command lets you interactively perform what the EKL enables you to do. Actions are not automatically performed; they behave in an interactive manner. |
|
Engineering Rules Capture |
Set of Equations
|
You can create a set of equations and solve them by clicking the relation
set in the tree and clicking Set of Equations
|
| Know-how Apps Logic | Create Know-how Library
|
A library is a feature containing text describing its full content (concepts, rules, and includes). Libraries are stored in a Know-how Apps component. KML rules evaluate the attributes or children of a concept. |
| Multiple Apps through the action bar or the tree by right-clicking the parameter | Formula
|
Formulas are features used to define or constrain a parameter. A formula is a relation: the left side of the relation is the parameter to be constrained and the right side is a statement. |
Using Intelligent Code Completion
The EKL editor makes the following suggestions when you begin typing a script:
- List of types during the declaration of a variable
- Most Recently Used (MRU) types filtering while entering a list of types
- List of methods and attributes when using a dot or an arrow operator on a variable
- List of know-how libraries for the
includekeyword (if declared in a resource table) - List of know-how functions for included libraries
- List of arguments for supported functions/methods
- Special type of argument for specific functions/methods
- Resource table ID for supported functions/methods
The following elements are supported:
- Expression Editor Preferences
- All EKL editor dialog operations such as
FindandReplace,Snippet,Wizard, and others.
The following behaviors are automatic:
- Indentation
- Token highlighting
