I'm looking for an API program that will extract specifc columns of Bill of Materials on a drawing to a CSV file. If someone could point me in the right direction with a simular program it would be greatly appreciated. Thank you
SolidworksApi macros
I'm looking for an API program that will extract specifc columns of Bill of Materials on a drawing to a CSV file. If someone could point me in the right direction with a simular program it would be greatly appreciated. Thank you
SolidworksApi macros
After you select your BOM in a drawing you can do a File > Save As to a csv file.
You can also create a custom BOM with just the columns you want to save out.
I am assuming you already know that and are looking to just pull specific columns out of a batch of files.
Cheers,
Anna
The BOM structure contains columns that I don't want in the CSV file and also doesn't contain information that is needed in the file. I need to be able to control the information that is written to the csv file. I'm looking to produce this file in a format that I don't have to edit using a text editor. I'm looking for the code that will show me how to select and drill down to the BOM information from there I should be able produce a program to create the file I need.
Thank you Anna
http://www.esoxrepublic.com/freeware/BOMtoClipboard.php
You can dissect this macro and learn how to access a BOM and get its parts.
I should be able to take it from there.
Thank you Roland