MINOR_REV
Section:
Attribute
Required:
No
Product:
Creo Elements/Direct Model Manager, Creo Elements/Direct Drawing Manager
Description
MINOR_REV is a pseudo attribute, defined in wmconf.xml. It must be used in conjunction with MAJOR_REV. The <AttributeEditorClass> com.osm.datamgmt.editor.MajorRevAttributeEditor converts the MAJOR_REV value and the MINOR_REV value into a value that can be 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.
Possible initial values for MINOR_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 MINOR_REV. It assumes that MAJOR_REV has already been defined.
<Attribute>
MINOR_REV
<DisplayName>Minor Rev</DisplayName>
<Visible>false</Visible>
<Protect>true</Protect>
<IncludeInLayoutManager>false</IncludeInLayoutManager>
</Attribute>
Was this helpful?