Attributes of DATA Elements
- Last UpdatedJan 02, 2024
- 3 minute read
Each DATA element has the following special attributes:
|
DKEY |
Data Key. An AVEVA E3D Design word which allows a specific DATA element to be referenced from within Model or Draw using the Q PROP dkey command. |
|
PTYP |
Property Type. This is a word attribute which defines what sort of property the DATA is providing. |
|
DATA elements can be interpreted as references, text, reals and logical and this is primarily controlled by the pseudo attribute used to access the property. In most cases the setting of PTYPE is secondary to the enquiring pseudo attribute and the validation is done by ensuring the type of value returned (reference, text, real) matches the type of pseudo attribute. |
|
|
However often PTYPE is set to a suitable value (for example, REAL, DATA, TEXT, SPRF) compatible with the type but this is often not validated by the core system, only the application using the data. |
|
|
PTYP can take any value (and often an application will rely on specific values). Those settings critical to the core system are those that distinguish which type of physical data is being supplied by REAL Data properties. The core system supported values are REAL, NONE, and any hash code for standard physical properties. Most significant of these are DIST and BORE but other common ones may be ANGL, MASS, etc. |
|
|
When the data property is evaluated as a real value (when used in expressions etc) its physical dimension is checked against the DATA element's PTYP. |
|
|
|
|
|
|
The PTYP can be set to any generic quantity by supplying PTYP with a compound unit of the physical quantity (for example, PTYP 1kg/m3/degC). |
|
|
PTYP can be set to WORD for values of type WORD, which is a four character keyword commonly used for connection type information. Note: WORD is a special case that should not be confused with the STRING data type. In order to set a default value for a WORD type property it is necessary to set the Default to a HASH value. This is done by entering an expression like ( HASH('ABCD') ) which sets the default WORD value to ABCD. |
|
|
DTIT |
Data Title. A text string describing the property stored in the DATA. |
|
PPRO |
Property. Any expression which defines a property of the item with which the dataset is associated. |
|
DPRO |
Default Property Value. The value to be used if the true setting of the Property cannot be evaluated at any time. Refer to Controlling the Detailed Checking Procedure. |
|
PURP |
Purpose. An AVEVA E3D Design word showing the purpose for which the stored property is relevant. For example, PARA (for Catalog parameters), DESP (for design parameters), DATA (for general properties). If PURP is set to DESP, the DATA element can own multiple Sub Data (SUBDAT) elements which contain valid values for selection in Model or Draw. Refer to Sub Data (SUBDAT) for further information. |
|
NUMB |
Number. An integer which may be set to further categorize the specific property stored in the DATA. For example, the identifying number of a PARAM or DESPARAM. |
|
PUNI |
Property Units. The units used when evaluating the Property value. This attribute is not used by the core system but by applications dependent on the data properties. |
|
RUSE |
Real Property Flag. Refer to Controlling the Detailed Checking Procedure. |
The PPRO attribute is evaluated in response to the Q PROP... command in Model or Draw. The parameters in the expression may not be defined until the item is added to the model. It can include any attributes which are valid for the design element, including user-defined attributes; for example:
((:COST OF OWNER) * :LENGT).
The PPRO attribute can also be set to a parameterized expression which will be used in the definition of Pointsets and Geomsets. Refer to Controlling the Detailed Checking Procedure.