- Getting started
- Using the software
- OPC UA
- Graphic and layout objects
- Developing solutions
- Developing projects with C#
- Application examples
- UI tutorial
- OPC UA tutorial
- NetLogic tutorial
- Object and variable references
InformationModel.MakeAlias(browseName)
Creates an alias and returns a corresponding
IUAVariable
C# object.static IUAVariable MakeAlias(QualifiedNamebrowseName);
Arguments
- browseName(QualifiedName)
- TheBrowseNameof the new alias.
Returns
- IUAVariable
- A C# object that corresponds to the project object created.
Example
The following example shows an alias that is created in the
Motor1
object of the FactoryTalk Optix Studio
project:var modelFolder = Project.Current.Get("Model"); var alias = InformationModel.MakeAlias("CurrentMotor"); modelFolder.Add(alias); modelFolder.SetAlias("Model", Project.Current.Find("Motor1"));
Provide Feedback