Database Management
Reference Manual
Comparisons Across Sessions and Stamps
:
Comparison Date
: GEOM, CATTEXT, and CATMOD Special Attributes
GEOM, CATTEXT, and CATMOD Special Attributes
There are three new special attributes ‘GEOM’, ‘CATTEXT’, and CATMOD (previously called ‘CATA’).
GEOM Special Attribute
The GEOM attribute returns true if any aspect of the evaluated geometry has changed.
The definition of evaluated geometry change includes:
•
Any dimension of a primitive has changed
•
Any ppoint changes
•
Pos/ori change
The level information used to determine the geometry is set by the ‘REPRE MASS’ command. The ‘REPRE MASS’ command is also available in ISODRAFT.
CATTEXT Special Attribute
This will return true if any part of the evaluated detail or material text has changed.
CATMOD Special Attribute
Special attribute CATMOD will return true if any value in the catalogue has changed. i.e.
•
SPREF
•
Changes to SPCO element
•
Changes to COMP element
•
Changes to any PTSE, GMSE, ppoint, geometry elements
•
Changes to any dataset elements
•
Changes in DTEXT,MTEXT elements
Note that there is a subtle difference between CATMOD and the other two: the CATTEXT and GEOM keywords work on the evaluated values.
Thus it is possible that the geometry element has changed but the GEOM keyword returns false, e.g. a UDA value may have changed, but this has no effect on the evaluated geometry.
The CATMOD keyword on the other hand will return true for any change.
You can use the CATMOD keyword on any element. It will return ‘false’ if the element does not have a SPREF or CATREF reference pointing into the catalogue database. It will return ‘true’ if the element has a SPREF or CATREF attribute and either (a) this reference attribute has itself changed in value or (b) the catalogue element pointed at, or any catalogue element owned by or pointed at by this element, either directly or indirectly, has changed in any way.
The exception is that elements pointed at by UDA’s are not compared, although the value of the UDA itself is checked. Thus if a reference valued UDA has been changed then this will count as a change, but if only the element
pointed at
has changed, then this will not count.
1974 to current year.
AVEVA Solutions Limited and its subsidiaries. All rights reserved.