Fusion Manage Forum
Welcome to Autodesk’s Fusion Manage (formerly Fusion 360 Manage) Forum. Share your knowledge, ask questions, and explore popular Fusion Manage topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Custom Part Numbering Schema

8 REPLIES 8
Reply
Message 1 of 9
Rdisplay
758 Views, 8 Replies

Custom Part Numbering Schema

Hello, I am trying to setup a part numbering schema that follows our practice. The samples that are included do not match what I need, and I cannot seem to find where to get this setup in the system. Thank you. Cordially, Arno
8 REPLIES 8
Message 2 of 9
jpiggee
in reply to: Rdisplay

Arno,

 

To better tailor an answer for you that will meet your needs, can you please provided an example of what you would like this number to look like, also are you trying to use to auto-number field  or tailor the Sequencer workspace to achieve this?

Joseph Piggee
Fusion 360 Administrator
TPI Composites
jpiggee@tpicomposites.com
Message 3 of 9
Rdisplay
in reply to: jpiggee

Joe, Thank you for the reply. My part numbers are as follow: Part numbers are 8 alphanumeric digits with a dash between the first 4 letters and last 4 numbers: A BCD-1234 First letter designates the product from a high-level view, for example: Component Documentation Assembly (anything with a multi-parts BOM is an assembly, for the most part) Finished Product (anything with a barcode) Second letter designates a category: Last two letters designate the detail of the second letter designation. Numbers are sequential, but I may want to use specific ones in some instances where it makes sense. Thank you. Cordially, Arno
Message 4 of 9
Rdisplay
in reply to: Rdisplay

How do you put line carriage returns in here? My posts show up without the CR, and everything is in one big paragraph. Annoying... Thank you. Arno
Message 5 of 9
jpiggee
in reply to: Rdisplay

Arno,


In this scenario are you pulling items from multiple ‘item workspaces’ or are they all grouped in a single workspace?

 

 

 

Joseph Piggee
Fusion 360 Administrator
TPI Composites
jpiggee@tpicomposites.com
Message 6 of 9
jpiggee
in reply to: jpiggee

Arno,

If you are using a single item workspace, you would be able to generate this item with the combination of the “Sequencers workspace” and Modification of the ItemSeqGen action script.

 

However your lastline  (currently line 14) would look something like:

Item.Number = highview + catNumber + subview ‘-‘ + newItemNumber;

 

Key:

high-level view (1) - hlview

category (1) - catNumber

detail of the second letter(2) -subview

Numbers are sequential (4) - newItemNumber

Joseph Piggee
Fusion 360 Administrator
TPI Composites
jpiggee@tpicomposites.com
Message 7 of 9
Rdisplay
in reply to: jpiggee

Thank you for the answer. I haven't gone into the scripting yet, but this seems quite a bit complicated... Is there any tutorial in particular that refers to this? Thank you. Cordially, Arno
Message 8 of 9
BorisChan
in reply to: Rdisplay

Hi Arno,

 

Joe is traveling today.

 

Michelle Stone has posted a similar response to scripting in the post titled: server side JavaScript.

 

I am re-posting her response here as FYI:

 

All the currently available information about scripting is on our WikiHelp in the scripting section.  As new information becomes available, you'll find it there.

 

Regards,

Boris Chan

Product Support Specialist

Autodesk, Inc.

Message 9 of 9
jpiggee
in reply to: Rdisplay

Arno,

I had a request for this on Tuesday so I thought I would share it with you. This is a simple case senerio based on single workspace auto numbering based on conditions chosen:

 

/*
Purpose:
Create a custom part number based on options selected in the workspace
*/
var a = item.PRE_CONDITION; //sets pre number based on item chosen
var b = item.AUTO_NUMBER; //brings in the number provided by the auto numbering field
var c = item.POST_CONDITION; //sets post number based on variable chosen
var d = '00-0000-00'
//selection for pre number
switch (a)
{
case "wood":
var a = 01
break;
case "plastic":
var a = 02
break;
case "metal":
var a = 03
}
//selection for post number
switch (c)
{
case "alpha":
var c = '99'
break;
case "beta":
var c = '88'
break;
case "omega":
var c = '77'
}

var d = a+'-'+b+'-'+c; //create the number layout
item.PART_NUMBER = d; //add it back to the workspace

 

Joseph Piggee
Fusion 360 Administrator
TPI Composites
jpiggee@tpicomposites.com

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report