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.
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
Output arguments
Argument
Description
CreateNodeId
NodeId attribute assigned at runtime

CreateVariable method

This method creates a variable in the information model.
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.
Input arguments
Argument
Description
Node
Node to delete
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.