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

to make ptc_wm_revision start from 0 with a relation

Highlighted
Marble

to make ptc_wm_revision start from 0 with a relation

Hello,

I have to use the Windchill parameter PTC_WM_REVISION, which is a string and starts in my case from 1.

In our drawings we want it to start from 0 (for stardards-related reasons), therefore I thought the easiest thing would be to report it in the drawing with a relation with something like "&ptc_wm_revision -1" or, as an alternative, to create a parameter in part's relations with the line rev_drawing=ptc_wm_revision-1.

The problem I realized is that ptc_wm_revision is a string and being a system parameter it cannot be changed to real number, nor I could use any operator as there seems not to be any opposite of "itos()".

Anyone has suggestions on how to set up this? (Maybe there is a way to modify in Windchill preferences the properties of "ptc_wm_revision"?)

thanks

bye bye

2 REPLIES 2

Re: to make ptc_wm_revision start from 0 with a relation

The right way to handle this is to change the versioning scheme in Windchill to start at '0'.  This will only apply to new objects created and will have no effect on existing objects.  Take a look at these:

<Windchill Server>/Windchill-WHC/index.jspx?id=ObjRulesChp_VersionSchemeChg&action=show

or

http://support.ptc.com/cs/help/windchill_hc/wc102_hc/index.jspx?id=ObjRulesChp_VersionSchemeChg&acti...

and

<Windchill Server>/Windchill-WHC/index.jspx?id=ObjRulesChp_FileBasedScheme&action=show

or

http://support.ptc.com/cs/help/windchill_hc/wc102_hc/index.jspx?id=ObjRulesChp_FileBasedScheme&actio...

Re: to make ptc_wm_revision start from 0 with a relation

Hello Tom,

thanks a lot for the tips, I will try and change those settings therefore and in case let you know.

bye bye