Creating an Additional Multicharacter Series
The default multicharacter series may not suit your site’s needs. PTC has defined an additional series that conforms to U.S. military specifications (the ASME Y 14.35M revision standard) by including additional wt.properties entries similar to the Harvard series entries.
The default definition for wt.series.MulticharacterSeries is given in Versioning Scheme Properties. To update this definition according to U.S. military specifications, the following entries have been added to wt.properties:
wt.series.MulticharacterSeries.seed
This entry defines the first character of the series, which would be immediately followed by the value of wt.series.MulticharacterSeries.min. If wt.series.MulticharacterSeries.seed is not defined, the value of wt.series.MulticharacterSeries.min is treated as the seed value.
wt.series.MulticharacterSeries.skipList
This entry specifies the characters to skip in the series. Existing objects cannot have revision labels that use the characters specified in the skip list.
* 
For information about how to allow any of the skipped characters that are listed in this property in the revision labels of existing objects, see Accommodating Legacy Characters in an Alphabetic Scheme.
Using the new entries, the MilSpec multicharacter series is defined as follows:
wt.series.MulticharacterSeries.seriesNames=MilSpec
wt.series.MulticharacterSeries.MilSpec.min=A
wt.series.MulticharacterSeries.MilSpec.max=Y
wt.series.MulticharacterSeries.MilSpec.seed=-
wt.series.MulticharacterSeries.MilSpec.skipList=IOQSXZ
wt.series.MulticharacterSeries.MilSpec.delta=1
wt.series.MulticharacterSeries.MilSpec.length=3
In order to use this multicharacter series, the corresponding Harvard series is defined as follows:
wt.series.HarvardSeries.seriesNames=MilSpec
wt.series.HarvardSeries.MilSpec.delimiter=.
wt.series.HarvardSeries.MilSpec.depth=16
wt.series.HarvardSeries.MilSpec.level.1=wt.series.MulticharacterSeries.MilSpec
To use both the MilSpec series and the MyHarvardSeries, set the seriesNames property, as follows:
wt.series.HarvardSeries.seriesNames=MilSpec, MyHarvardSeries
To use MilSpec as the versioning scheme for WTPart, use the following rule:
<AttributeValues objType="wt.part.WTPart">
<!-- set the version using the alternate MilSpec HarvardSeries -->
<AttrValue id="MBA|versionInfo"
algorithm="com.ptc.core.foundation.vc.server.impl.VersionInfoGenerator">
<Arg>wt.series.HarvardSeries.MilSpec</Arg>
</AttrValue>
</AttributeValues>
Was this helpful?