Skip to main content
May 6, 2025 5:17 PM UTC
Solved

WTContaier Versionscheme

Version: Windchill 12.0

 

Use Case: to create a WTPart and WTDocument in backend, need to set a valid version (configured for the container)


Description:

i need to create new WTPart and WTDocument in backend. for that we need to set an initial version. do we have any OOTB method or any solution to get the version scheme configure for the specific container (get version scheme from WTContaier).

May 6, 2025 5:22 PM UTC

You should not need it. The initial version will be set of the Object Initialization Rules as defined by your Container location. I have code that creates a part and I did not have to declare the initial version. 

2 replies

May 6, 2025 5:22 PM UTC

You should not need it. The initial version will be set of the Object Initialization Rules as defined by your Container location. I have code that creates a part and I did not have to declare the initial version. 

May 14, 2025 8:04 PM UTC

Hi @Mathivanan,

 

I wanted to see if you got the help you needed.

If so, please mark the appropriate reply as the Accepted Solution. It will help other members who may have the same question.
Of course, if you have more to share on your issue, please pursue the conversation. 

 

Thanks,
Anurag