Can I reset Sequencer start number via script

Can I reset Sequencer start number via script

Anonymous
Not applicable
919 Views
3 Replies
Message 1 of 4

Can I reset Sequencer start number via script

Anonymous
Not applicable

I have created a sequencer and it increments with every new item I create.  Can I reset the starting number back to 1 after a certain condition?

 

For example I have a numbering scheme, 2016-1, 2016-2, etc...  When the new year occurs I want 2017-1, 2017-2 etc.  How can I do this in my script?

0 Likes
Accepted solutions (2)
920 Views
3 Replies
Replies (3)
Message 2 of 4

tony.mandatori
Autodesk
Autodesk
Accepted solution

I don't think you can reset a sequence, but maybe you make multiple sequences ... one for 2016 and another for 2017.

0 Likes
Message 3 of 4

Anonymous
Not applicable
Ya...I thought about that too.....then I would have a running list of sequencers seq[0] for 2016, seq[1] for 2017.
[http://www.nucap.com/images/image001.jpg] Jason Leung - Design Engineer
NUCAP Industries Inc.
3370 Pharmacy Avenue, Toronto ON
Ph.416 494 1444 FAX.416 494 2505
Jason.Leung@nucap.com

Please visit us at www.nucap.com www.gripmetal.com



[http://www.nucap.com/images/banner-nrx.png]
0 Likes
Message 4 of 4

Anonymous
Not applicable
Accepted solution

I will use the current year as part of the sequence name.  That way when the year changes, a new sequence name starts and it will be set back to 0.

0 Likes