- Getting started
- Using the software
- OPC UA
- Graphic and layout objects
- Developing solutions
- Developing projects with C#
- Application examples
- UI tutorial
- NetLogic tutorial
- Object and variable references
LogicObject.SetAlias(string, IUANode)
Sets the value of an alias, or the node the alias points to.
void SetAlias(stringaliasName, IUANodepointedNode);
Arguments
- aliasName(string)
- TheBrowseNameof the alias to set.
- pointedNode(IUANode)
- ANodeto which the alias must point to.
Example
The following example shows the
MotorInstance
alias that points to the Motor1
node.var myMotorInstance = Project.Current.FindObject("Motor1"); LogicObject.SetAlias("MotorInstance"), myMotorInstance);
Provide Feedback