MAJOR_REV
Section:
Attribute
Required:
No
Product:
Creo Elements/Direct Model Manager, Creo Elements/Direct Drawing Manager
Description
MAJOR_REV is a pseudo attribute, defined in wmconf.xml. It uses the <AttributeEditorClass> com.osm.datamgmt.editor.MajorRevAttributeEditor to convert the MAJOR_REV value (and, optionally, a MINOR_REV value) into a value that is stored as a VERSION in the database.
The form of the VERSION is
MAJOR_REV.MINOR_REV
If MINOR_REV is not defined, the field consists of only the MAJOR_REV value.
A list of possible initial values for MAJOR_REV can be defined using <InitialRev>. The second value can be defined using <SecondRev>.
Using <NumericOnly> restricts the values being presented to numeric values.
Example
This example shows a definition of MAJOR_REV, with the initial value set to "-" (empty):
<Attribute>
MAJOR_REV
<DisplayName>Major Rev</DisplayName>
<Visible>false</Visible>
<AttributeEditorClass>com.osm.datamgmt.editor.MajorRevAttributeEditor</AttributeEditorClass>
<IncludeInLayoutManager>false</IncludeInLayoutManager>
<InitialRev>-</InitialRev>
</Attribute>
Was this helpful?