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: 

Conditional Scripting checks on BOM fields

4 REPLIES 4
SOLVED
Reply
Message 1 of 5
scottmoyse
1032 Views, 4 Replies

Conditional Scripting checks on BOM fields

Can I access the BOM fields and perform conditional checks on them?

 

BOM radio buttons.png

 

For example; above, I would like to stop a transition to released if these values haven't been filled out. I think you are going to tell me these checks should occur on a Revisioning Workspace Item? However, I want to see these values/checkboxes summarised in the BOM like this if possible. Otherwise the users will be jumping back and forth to find the information.


Scott Moyse
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.


EESignature


Design & Manufacturing Technical Services Manager at Cadpro New Zealand

Co-founder of the Grumpy Sloth full aluminium billet mechanical keyboard project

4 REPLIES 4
Message 2 of 5
jpiggee
in reply to: scottmoyse

Scott,

Your concern has been addressed and is in the works, We hope to see this released soon.

As always thank-you for your continual input on the PLM product functionality.

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

ok cool cheers


Scott Moyse
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.


EESignature


Design & Manufacturing Technical Services Manager at Cadpro New Zealand

Co-founder of the Grumpy Sloth full aluminium billet mechanical keyboard project

Message 4 of 5
punisher
in reply to: scottmoyse

Was really hoping for some scripting love here. Thought it would help my current puzzle.

John Evans
Autodesk Certified Professional

http://designandmotion.net
Message 5 of 5
jpiggee
in reply to: punisher

Scott,

 

This is a bit late but I'm trying to close the loop on some of these scripting items.

 

Yes you can write a condition script for checking BOM items:

 

BOM features supported:

 

item.boms -- A list of boms

item.boms.addRelated({ RELATED: target, QUANTITY: decimal, CUSTOM_FIELDS: [key,value], ITEM_NUMBER: int, QUOTE: item}) – Adds item to bom list

item.boms.addRelated(target,  quantity, fields[],lineNumber, quote) – Adds relationship to list

 

fields is optional

lineNumber is optional, if omitted then autonumbering should be used

quote is optional

 

item.boms[i] has the following properties:

  item.boms[i].id – DMS ID of target item

  item.boms[i].descriptor – Descriptor of target item

  item.boms[i].item – Target item

  item.boms[i].item.FIELD – Field on target item

  item.boms[i].lineNumber – The bom items line number (may not be needed, maybe the same as the index)

  item.boms[i].fields – access to bom custom fields

  item.boms[i].fields.FIELD – Field in the custom bom fields

  item.boms[i].qty – Quanity

  item.boms[i].quote - access to the line items quote

 

 

item.boms[i].setQuote(quoteItem) – Sets the default quote

item.boms[i].remove() – Removes relationship i from the list

 

 

 

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