Getting the part number out of ExtractBOM

Getting the part number out of ExtractBOM

Anonymous
Not applicable
895 Views
3 Replies
Message 1 of 4

Getting the part number out of ExtractBOM

Anonymous
Not applicable

Hello,

I want to extract a bill of materials out of Fusion and to do this I want to modify the ExtractBOM (Python) for two purposes:

First one is to write it into a text file. This is already done. You can see the result in the attached file.

The second one is my problem. In addition to part name and quantity I also want to get the part number that we assigned - the one you assign in the properties of each object. I am able to do this for the part name etc. but I can't get it to work for the part number. I don't know which variable to use here. I expect it's something similar to line 34 (in the py file):

item['name']      -->      item['number']

 

Or maybe something like in line 57:

comp = occ.component     -->     number = occ.number

 

Does anybody know how to extract the part number?

Thanks!

0 Likes
896 Views
3 Replies
Replies (3)
Message 2 of 4

schneik-adsk
Community Manager
Community Manager

Part Number, Title and Description properties will be available in the update this 20th. They are not available today.

Kevin Schneider
0 Likes
Message 3 of 4

MichaelAubry
Autodesk
Autodesk

Hey Guys, did the ability to extract part #, description and title make the release?  I don't see it listed in the what's new documentation. http://fusion360.autodesk.com/learning/learning.html?guid=GUID-DE5B70A6-AA7D-439D-8284-2F0382AB6C90

 

Thanks!

Mike

Michael Aubry
Autodesk Fusion 360 Evangelist
0 Likes
Message 4 of 4

MichaelAubry
Autodesk
Autodesk

Update:

 

I think I answered my own question. I see description and part number are included:

http://fusion360.autodesk.com/learning/learning.html?caaskey=caas/CloudHelp/cloudhelp/ENU/Fusion-360...

 

I'll try it when I get a chance.

Michael Aubry
Autodesk Fusion 360 Evangelist
0 Likes