Eplan.EplApi.Scripting Namespace (Eplan.EplApi.AFu)
In This Topic
The classes of the Scripting namespace provide the attributes for scripts.
Classes
| Class | Description |
| DeclareAction | Attribute used to mark a method of a class in a Scripts so that this method will be registered as an Eplan.EplApi.Scripting.Action in the system. If a method, which is marked by the DeclareAction attribute has string parameters, these \parameters will be recognized as parameters of the Action. |
| DeclareEventHandler | When a script function is to respond to events in the system, the function has to be marked with this attribute. |
| DeclareRegister | When a new script is loaded in P8, this function is called. |
| DeclareUnregister | When a new script is unloaded from P8, this function is called before removing it. |
| Start | Used to mark a function of a class in a Scripts. Once the script is run, this function is called. This function may also have SimpleScriptWithParameters. |
See Also