User Defined Attributes
User-defined attributes are attributes that are created and defined by the users. Entity Attributes and values can be found in the last column of the Attribute Table under an entity tab, or in a row under the Model tab if they are global attributes.
For more Attributes related functions, see Attribute Functions
Entity Attributes
Entity attributes are attributes that are assigned to entities. They can be found in the last column of the Attribute Table in the tab of their associated entities.
Entity attributes can be referenced using function query.Get in within the same node in which the attributes are created and in the downstream nodes that are linked in series with the node.
To attribute an entity or multiple entities:
- Write ID/variable name@attributename in the variable declaration box.
- In the variable input box, enter the value of the attribute. The value may be a number, a string or a flat list.
Global Attributes
Global attributes are attributes that are given to the entire model instead of just one or more selected entities. They can be found in a row under the Model tab in the Attribute Table.
Just like entities attributes, global attributes can be referenced within the same node in which the attributes are created and in the downstream nodes that are linked in series with the node. However, it can be referenced using directly @attributename
instead of using query.Get function.
To assign a global attribute to the model:
- Write@attributename in the variable declaration box.
- In the variable input box, enter the value of the attribute. The value may be a number, a string or a list.
See Referencing