Sequencer Object

Sequencer Object

Anonymous
Not applicable
587 Views
5 Replies
Message 1 of 6

Sequencer Object

Anonymous
Not applicable

I'm trying to write a script to change to the sequencer function instead of using the auto number script. I'm not entirely sure on where to put the script to make it work to change the objects that I want changed. My code so far is:

 

var seq = Sequencer.get('Q', 1, 1);

var value = seq.nextValue();

item.SEQUENCER = 'Quote' + value;

0 Likes
588 Views
5 Replies
Replies (5)
Message 2 of 6

ekinsb
Alumni
Alumni

I don't know what you're referring to in regards to the "auto number script".


Brian Ekins
Inventor and Fusion 360 API Expert
Mod the Machine blog
0 Likes
Message 3 of 6

Anonymous
Not applicable

Capture.PNGI'm trying to switch from the auto number to the sequencer since the auto number sometimes skips over numbers in order.

0 Likes
Message 4 of 6

ekinsb
Alumni
Alumni

Is this in Fusion 360?  If so, there isn't any API support for this.


Brian Ekins
Inventor and Fusion 360 API Expert
Mod the Machine blog
Message 5 of 6

Anonymous
Not applicable
I think I posted this to wrong forum, I wasn't sure where to get help with this problem, sorry.
0 Likes
Message 6 of 6

ekinsb
Alumni
Alumni

I'm not familiar with that dialog and don't know which product you're using but there should be a forum where you can ask your question.  Just a guess but here are links to the Fusion Connect and Fusion Lifecycle forums.


Brian Ekins
Inventor and Fusion 360 API Expert
Mod the Machine blog
0 Likes