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"?)
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:
thanks a lot for the tips, I will try and change those settings therefore and in case let you know.