cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

We are happy to announce the new Windchill Customization board! Learn more.

Revision for new object

BenLoosli
23-Emerald II

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.

1 ACCEPTED SOLUTION

Accepted Solutions
BenLoosli
23-Emerald II
(To:BenLoosli)

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.

View solution in original post

5 REPLIES 5

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>
BenLoosli
23-Emerald II
(To:BenLoosli)

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.

MJC
11-Garnet
11-Garnet
(To:BenLoosli)

"...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

MJC
11-Garnet
11-Garnet
(To:MJC)

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

BenLoosli
23-Emerald II
(To:MJC)

1.       Selecting a revision out of Sequence

a.       Expand ‘Revise’

                                                               i.      Change ‘Allow Override on Insert’ to Yes

1.       will display insert actions and allow user to specify a revision label.

                                                             ii.      Change ‘Allow Override on Revise’ to Yes

1.       will allow user to specify a revision label when doing a revise.

Top Tags