Eplan.EplApi.Scripting Namespace (Eplan.EplApi.AFu)
In This Topic
The classes of the Scripting namespace provide the attributes for scripts.
Classes
| Class | Description |
![Class](template/packages/core-dotnet/images/Class.png) | 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. |
![Class](template/packages/core-dotnet/images/Class.png) | DeclareEventHandler | When a script function is to respond to events in the system, the function has to be marked with this attribute. |
![Class](template/packages/core-dotnet/images/Class.png) | DeclareRegister | When a new script is loaded in P8, this function is called. |
![Class](template/packages/core-dotnet/images/Class.png) | DeclareUnregister | When a new script is unloaded from P8, this function is called before removing it. |
![Class](template/packages/core-dotnet/images/Class.png) | 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