Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ Engineering

Methods

  • Last UpdatedNov 13, 2025
  • 2 minute read

The Attribute instance can then be used for querying the ‘meta data’, that means, data about data. The methods of the class allow the following to be queried.

String Type()

Attribute type

String Name()

Attribute name

String Description()

Attribute description

Int Hash()

Attribute hash value

int Length()

Attribute length

bool IsPseudo()

Whether pseudo or not

bool IsUda()

Whether a User defined Attributes (UDA) or not

string querytext()

As output at the command line when querying attribute

string units

Either BORE, DISTANCE or NONE

Returns the unit field of the attribute which is the string of the hash code of the dimension of the attribute (BORE, DIST, MASS, ANGL, or for numbers of no physical quantity NONE). For UDAs it is the value of the UDA Type (UTYP) attribute.

bool Noclaim()

Whether attribute can be changed without doing a claim

ElementType array

ElementTypes

List of Elements for which the attribute is valid. This only works for UDAs

Real array limits

Min/Max values for real/int types

String array

ValidValues(ElementType)

List of valid for text attributes. The list may vary with element type

string DefaultValue

(ElementType)

Attribute default. This only works for UDAs

string Category()

Determines the grouping of attributes on the ‘Attribute Utility’ form

bool hyperlink()

if true then the attribute value refers to an external file

bool connection()

if true then the attribute value will appear on the reference list form

bool hidden()

If true then attribute will not appear on the Attribute utility form or after ‘Q ATT’

bool protected()

if true then attribute is not visible if a protected Databases (DB).

Note: We do yet not support direct usage of this class in other syntax.

Related Links
TitleResults for “How to create a CRG?”Also Available in