Community Tip - You can change your system assigned username to something more personal in your community settings. X
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!
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.
