Global methods for nodes

Use these global methods to create or remove objects and variables from the information model at runtime.

CreateObject method

This method adds an object to the information model.

Table 1. Input arguments
Argument Description
BrowseName Name of the object
ObjectType Type of object
ParentNode Parent node of the object to be created
ReferenceType Reserved for future use
Table 2. Output arguments
Argument Description
CreateNodeId NodeId attribute assigned at runtime

CreateVariable method

This method creates a variable in the information model.

Table 3. Input arguments
Argument Description
BrowseName Variable name
RequestedNodeId Reserved for future use
VariableType Type of variable
ParentNode Parent node of the variable to be created
ReferenceType Reserved for future use

DeleteNode method

This method deletes a node from the information model.

Table 4. Input arguments
Argument Description
Node Node to delete