Community Tip - You can Bookmark boards, posts or articles that you'd like to access again easily! X

Translate the entire conversation x

WindChill Sequence Number Problem

MC_12915219
2-Explorer

WindChill Sequence Number Problem

Version: Windchill 12.1

 

Use Case: Cant Retrieve the sequence number and its really pissing me off


Description:

Hey,
How can I retrieve the sequence number for a WT.Part or WT.Document in Windchill using the API?
When I create a WT.Part, the number is generated automatically, but I can't find a method to get the next number in the sequence. I'm using Info.Engine. Any suggestions on how to solve this would be greatly appreciated. Thanks!

2 REPLIES 2

Similar question - "How to get sequence number in Windchill through API?": https://community.ptc.com/t5/Windchill/How-to-get-sequence-number-in-Windchill-through-API/td-p/886708 

Just curious.. why do you need the next number, before it's created?

 

If someone happens to create a WTPart just half a second after your query, the number you think is the next number will already be taken. 

Announcements



Top Tags