confusing numbering naming and assigning

confusing numbering naming and assigning

skipper
Explorer Explorer
799 Views
7 Replies
Message 1 of 8

confusing numbering naming and assigning

skipper
Explorer
Explorer

When the system auto assigns numbers, it have a pre-fix PN, as in part number, but it is assigned and called an item number, but added to the part number field.

 

I cant figure out what the system is?

 

Regards

Morten Skipper

0 Likes
800 Views
7 Replies
Replies (7)
Message 2 of 8

sven.dickmans
Autodesk
Autodesk

Fortunately, there is a script involved in creating this number. You can change the prefix within this script (ItemNumberSequencer).

0 Likes
Message 3 of 8

skipper
Explorer
Explorer

Thank you for getting back to me on this.

I'm not sure it is solved overall this way, even it is good to know there is a way to change the prefix.

I already purchased the extension for our company, for one year. So now i have to make it work.

 

If the system just add an id to whatever it finds in a model, then i don't see how anyone could get it to work together with existing item names and part names.

 

It will just be redused to an extra ID that is hard to use in the daily work of design and production.

0 Likes
Message 4 of 8

michael.holstenson
Explorer
Explorer
Tried to change the prefix in the script and now I can't create new numbers in Fusion 360 using the "Assign Item Number" button.

"1 Error-Fail to proceed the command. Please close the dialog and try again."

Used a different team to figure out what went wrong and it seems that it's possible the break the Item Numbers just by testing the script. Pressing the script test button adds one the Item Number and then when you try to generate a new Item Number in Fusion 360 there is a gap in the sequence that prompts the error. That my guess anyway.

Any suggestions on how to fix this?

The reason I post here is that this is the only place where I have found any mention of the ItemNumberSequencer script.
0 Likes
Message 5 of 8

giliar.defriesperez
Autodesk
Autodesk

Hi @michael.holstenson ,

 

Testing the script should not add an item to the workspace - it's just debugging. Any insights on the script log (when editing, there's a link at the bottom "View Error Log")? Let's try starting there.

 

Thanks,

 

Giliar


Giliar de Fries Perez
Sr. Product Owner
Fusion 360® Manage
Autodesk Canada Co.
0 Likes
Message 6 of 8

skipper
Explorer
Explorer
Interesting, I am yet very puzzled over why this product is released for full payment. It is at best a Beta, and the whole numbering system is more or less useless. I subscribed for 4 seats, we all decided that we can not use this for anything before it matures quite a lot. Waste of good money.
Looking forward to hear about this when it have been polished of a bit, and is feature full.
Kind Regards
Morten Skipper
0 Likes
Message 7 of 8

michael.holstenson
Explorer
Explorer
Hi Giliar,

I changed to a new Team and activated the Manage extension.
Used the "Assign Item Number" on one design and got a number (PN-000001).
Then I used the debug button in the script editor and saw the number increase each time I stepped my way through the script.
When trying to assign a new Item Number to a design in Fusion I get an error.

When debugging the ItemNumberSequencer script it generates a new number that is not tied to a design. When assigning a new Item Number in Fusion there will be a jump in the sequence depending on how many times the debug button has been pressed. This I suspect is the problem.

Can not find the "View Error Log" link anywhere.

Thank you,

Michael
0 Likes
Message 8 of 8

dvirh
Autodesk
Autodesk

Hi Michael,

 

Please refer to the scripting reference for more information on how the sequencer works. When debugging in the production environment, you can use a different Named sequencer to generate numbers for debugging purposes. As long as you switch the script to use the original Named sequencer when you are done, you will not generate any gaps in numbers. It is a good practice to use the Prefix as the name of the sequencer then when you generate a new item number you are guaranteed uniqueness. All that said, as long as the number generated is unique within that workspace, any gap in numbers is not the root cause of the errors you are seeing in Fusion. I am not sure what that error is based on the information provided here. It may be best to report this error to customer support for quicker resolution. If you can also send me (directly, no need to post on the forum) the name of your hub and the exact time that you got an error message, I can see if there is anything in the logs.

Hagay Dvir
Engineering Manager
Fusion Manage
Autodesk, Inc.
0 Likes