Bill of materials part quantity

Bill of materials part quantity

chrisjspower
Enthusiast Enthusiast
320 Views
2 Replies
Message 1 of 3

Bill of materials part quantity

chrisjspower
Enthusiast
Enthusiast

Is it possible to get the data of the bill of materials and use it in ilogic? in particular the part quantity?

 

Thanks

0 Likes
321 Views
2 Replies
Replies (2)
Message 2 of 3

MechMachineMan
Advisor
Advisor

Yes, it is.

 

Where are you planning on running the rule from? What are you planning on doing with the information?

 

(The relevant API object is the BOMRow, which has the methods TotalQuantity and ItemQuantity available to it)

http://help.autodesk.com/view/INVNTOR/2019/ENU/?guid=GUID-D475FABC-33CE-4F0D-B15C-C92805BB23A7


--------------------------------------
Did you find this reply helpful ? If so please use the 'Accept as Solution' or 'Like' button below.

Justin K
Inventor 2018.2.3, Build 227 | Excel 2013+ VBA
ERP/CAD Communication | Custom Scripting
Machine Design | Process Optimization


iLogic/Inventor API: Autodesk Online Help | API Shortcut In Google Chrome | iLogic API Documentation
Vb.Net/VBA Programming: MSDN | Stackoverflow | Excel Object Model
Inventor API/VBA/Vb.Net Learning Resources: Forum Thread

Sample Solutions:Debugging in iLogic ( and Batch PDF Export Sample ) | API HasSaveCopyAs Issues |
BOM Export & Column Reorder | Reorient Skewed Part | Add Internal Profile Dogbones |
Run iLogic From VBA | Batch File Renaming| Continuous Pick/Rename Objects

Local Help: %PUBLIC%\Documents\Autodesk\Inventor 2018\Local Help

Ideas: Dockable/Customizable Property Browser | Section Line API/Thread Feature in Assembly/PartsList API Static Cells | Fourth BOM Type
0 Likes
Message 3 of 3

chrisjspower
Enthusiast
Enthusiast

Joy! 😄

I plan to use the info to generate material usage data. for example the total length/mass/area of an assembly. It will probably require updating when more parts are added but at least that should be a small effort.
I'm going to try to implement your suggestion now, will update asap 🙂

0 Likes