- Getting started
- Creating projects
- Graphic objects
- Predefined graphic objects
- Object and variable references
- Extending projects
- NetLogic
- Tutorials
- Dynamic links tutorial
- Graphic objects tutorial
- NetLogic tutorial
- OPC UA tutorial
InformationModel.MakeObject(browseName)
Creates a project object of the
BaseObject
type and returns a corresponding IUAObject
C# object.static IUAObject MakeObject(browseName);
Arguments
- browseName(QualifiedName)
- TheBrowseNameof the new object.
Returns
- IUAObject
- A C# object that corresponds to the project object created.
Example
The following example shows an API that creates a
Motor
object and returns a corresponding C# object, which is assigned to the motor
variable. The Motor
object is then added to the parent node of the NetLogic.
var motor = InformationModel.MakeObject("Motor"); Owner.Add(motor);
Provide Feedback