Skip to main content
1-Visitor
February 19, 2025
Question

WindChill Sequence Number Problem

  • February 19, 2025
  • 2 replies
  • 439 views

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

24-Ruby III
February 20, 2025

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 

joe_morton
18-Opal
18-Opal
February 24, 2025

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.