The functions to be executed in a script are identified using attributes. The following attributes can be used in scripts:
Attribute |
Description |
---|---|
Start |
Used to identify the function to be executed in a script. As soon as the script is executed, this function will be called up. The function can also have parameters. |
DeclareAction |
Used to identify the function to be executed in a script when the function of the script is to be registered in the system as an action. |
DeclareEventHandler |
If the function in a script is to react to events in the system, it must be given this attribute. |
DeclareMenu |
Used to identify the function to be executed in a script when a function of this script is to be inserted as a menu item. |
DeclareRegister |
If a new script file EPLAN is to be inserted, this function is called up. |
DeclareUnregister |
If a new script file is to be removed from EPLAN, this function is called up before the removal function. |
See also