Skip to main content
23-Emerald III
Nov 28, 2018 8:40 PM UTC
Solved

Revision for new object

We have our revision sequencing that starts at A and goes through Y for pre-release documents and then can jump at anytime during the alpha phase to numeric revisions starting at 0. In some cases we need to define the initial revision when we load a document into Windchill to be at revision 0. Currently we do it the back wood method of revising the revision A document to revision ) and then do the promotion request. This leaves us with a revision A document that does not really exist.

 

Is there a modification to the OIR that can be used to select the initial revision from the revision table or at least ask for the revision to be entered?

 

We are on Windchill 11.0 m030 CPS08.

BenLoosliAnswer
23-Emerald III
Oct 18, 2019 4:29 PM UTC

We got this solved by adding the Version attribute to the layout for create a new object and a preference to allow out-of-sequence versions. This is for documents.

For CAD files, we can do the associate in the workspace only to create the WTpart, then a revise to get to the 0 version.

5 replies

17-Peridot
Dec 3, 2018 12:15 PM UTC

Yes you can set the initial revision in the oir.

<AttrValue id="versionInfo.identifier.versionId" algorithm="wt.rule.algorithm.StringConstant">
 <Arg>01</Arg>
</AttrValue>

I would suggest you to create a new Import-Context and change the OIR.

You also probably need to set the correct serie

<AttrValue id="MBA|versionInfo" algorithm="com.ptc.core.foundation.vc.server.impl.VersionInfoGenerator">
 <Arg>wt.series.HarvardSeries.XXX</Arg>
</AttrValue>
Translate
BenLoosli23-Emerald IIIAuthorAnswer
23-Emerald III
Oct 18, 2019 4:29 PM UTC

We got this solved by adding the Version attribute to the layout for create a new object and a preference to allow out-of-sequence versions. This is for documents.

For CAD files, we can do the associate in the workspace only to create the WTpart, then a revise to get to the 0 version.

Translate
11-Garnet
Nov 20, 2019 12:39 AM UTC

"...adding the Version attribute to the layout for create a new object and a preference to allow out-of-sequence versions."

Hi Ben, I get the first part (adding to Layout) but which preference are you speaking of to allow out-of-sequence versions? We get drawings from customers at, say, rev D and we want to create rev D not create rev 01 and then revise it to rev D (because WC won't let you delete the 01).

Would be very interested in your solution.

 

Thank you.

MJC

Translate
11-Garnet
Nov 20, 2019 12:41 AM UTC

Sorry - I should have added this is for WTDoc not CAD drawings. - MJC

Translate