Create an alias
Create an alias to create a variable type that points to a node with a NodeId property.
- In Project view, select the object or object type to contain the alias.
-
In Properties, select
and then select Alias.
Tip: Some objects may contain multiple aliases. For example, you can add multiple aliases to a Panel object.Alias# appears in Properties and contains the Kind property. -
(optional) Mouse over the end of the alias name, select
, and then enter a new name for the alias.
-
In Properties, configure the alias:
-
To configure the alias for a reusable object, create a dynamic link between Kind and the relative reference node and then create a dynamic link between Alias# and the source node.
Where # is the alias object number.
-
To set the source at design time, create a dynamic link between Alias# and the source node.
The Kind property value populates with a relative reference node automatically.
-
To make the source settable at runtime, create a dynamic link between Kind and a relative reference node.
For more information about dynamic links, see Create dynamic links.
-