Set location attribute traits
- Last UpdatedJun 12, 2023
- 2 minute read
- PI System
- PI Server 2018
- PI Server
You can only set one set of location attribute traits per element, model, or event frame.
Set one or more location traits on an element or event frame template or on an element or event frame to enable users to identify the location of an asset on a map. You can also set a location for a model.
-
Choose from the following actions:
To set a location trait on ...
Do this ...
Element or model template
-
In the Library browser, select an element or model template.
-
Choose one of the following actions:
-
Right-click and click Location.
-
On the General tab, click the Location link.
-
Event frame template
-
In the Library browser, select an event frame template.
-
Choose one of the following actions:
-
Right-click and click Location.
-
On the General tab, click the Location link.
-
Element or model
-
In the Elements browser, select an element or model.
-
Choose one of the following actions:
-
Right-click and click Location.
-
On the General tab, click the Location link.
-
Event frame
-
In the Event Frames browser, select an event frame.
-
Choose one of the following actions:
-
Right-click and click Location.
-
On the General tab, click the Location link.
-
Note: You can also configure location traits as a child attribute template to an existing attribute template, or as a child attribute to an existing attribute: 1) On a template, right-click an attribute template and click Location of Element/Event Frame/Model Template, and 2) On an element, event frame, or model, right-click an attribute and click Location of Element/Event Frame/Model.
-
-
In the Location window, select the check box beside the trait you want to apply, or select the check box in the column header to select all traits.
-
In Attribute, choose one of the following actions:
-
Leave the default attribute name as is. The default attribute name displays the path relative to the element.
-
Replace the default attribute name with a name of your choice. Ensure that the full path to the element is retained.
-
If a child attribute already exists that you want to assign to the location trait, select it from the list.
Note: Location attribute traits that have already been defined are displayed in bold typeface.
-
-
Choose from the following actions:
To set a ...
Do this ...
Value for the location trait
In Value, enter a location value.
Value from a data reference
-
In Data Reference, select a data reference type.
-
In Settings, click
to configure the data reference.
-
Click OK to close the data reference window.
The result of the evaluated data reference is displayed.
-
-
Click OK when your list of location attributes for the selected element is complete.