Community
Fusion API and Scripts
Got a new add-in to share? Need something specialized to be scripted? Ask questions or share what you’ve discovered with the community.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Automate Exporting Parts list from a Drawing

1 REPLY 1
SOLVED
Reply
Message 1 of 2
Anonymous
272 Views, 1 Reply

Automate Exporting Parts list from a Drawing

Hello,

 

I've written a script that parses the CSV file you get when you export the parts list from a drawing.

After my script parses CSV, it writes the information to an excel file in our specific format that we use.

I've spent a couple days on this, and it's working perfectly. Now, someone wants me to automate the creation of the parts list from the drawings we have. They want to do this to save time from going through the drawings and manually exporting the parts list.

 

I've looked through the API and it does not seem possible to do this with a drawing. Am I  wrong?

 

I assumed this would be something quick and easy. But now it looks like I have to actually parse the assemblies, and create the CSV file myself from the assemblies. I just want some confirmation on this.

 

Does the API not have any implementation that allows me to get this information from a drawing?

 

Thank you in advance.

 

Labels (5)
1 REPLY 1
Message 2 of 2
BrianEkins
in reply to: Anonymous

Unfortunately, that is not currently possible. There is very little drawing functionality exposed through the API. It is possible to execute any command using the API so it's possible to run the "Export CSV" command which will result in the file dialog popping up for the user to specify the output file.

---------------------------------------------------------------
Brian Ekins
Inventor and Fusion 360 API Expert
Website/Blog: https://EkinsSolutions.com

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

Post to forums  

Technology Administrators


Autodesk Design & Make Report