Is there a macro that will look at a BOM (Excel BOM if it matters) and then make PDFs of all the drawings in the BOM, even lower level parts that aren't in the current drawing? Thank you
Is there a macro that will look at a BOM (Excel BOM if it matters) and then make PDFs of all the drawings in the BOM, even lower level parts that aren't in the current drawing? Thank you
I'm looking for a macro that will look at the BOM of a Solidworks drawing and then create PDFs (of the drawings) for all the lower level parts and subassemblies.
We use Excel Boms, if that matters. Thank you
Just question... You mention looking at the BOM. Why do you want to look at the BOM rather than referenced parts in the assembly? Seems like the BOM is an extra step.
Pack and Go can do this job as well. Just open the assembly, start Pack and Go, and use the Select/Replace button to (1) select all .slddrw, then (2)replace .slddrw with .pdf
Doesn't read the BOM, but will find drawings (if in same folder as parts) for all subcomponents.
First, make sure "Include Drawings" is checked at the top of the Pack and Go dialog. At this point you should have a list of lots of files, all of them checked. Click at the top of the list to de-select them all. Then, to select all of the drawings, click the "Select/Replace" button and make it look like this:
Then hit "Check All". You should see the drawing files in the list get checked.
Now make it look like this:
and hit "Replace All".
Then choose a "save to" folder. Not sure if zip file works. I also selected "flatten to single folder"
Then just hit "Save". I get a couple of error messages saying that .sldasm files fail to copy, but they're not needed anyway. The PDFs output to the selected folder (at least for me they do).
It is only adding PDF in the file name but not changing the SLDDRW to PDF? Do they get converted to PDF for you?
It works for me.... I opened PDFs. I wonder if it has to do with Windows setting for showing file types?
Yep. That's it. For goodness sake, turn off that stupid, stupid, stupid windows setting! Never, never, never hide extensions! That is the worst setting ever! It never solves any problem, it only creates them!
EDIT: Well dang... Time to eat some crow. I could have sworn I checked several times before posting the first time to make sure it was really making PDFs. So then I changed the Windows setting and it made .PDF.slddrw files, so I blamed the Windows setting. But now I can't get it to make PDFs either. So I either broke it or was wrong all along. Either way, it's no good.
But also either way, I still hate that Windows setting... :-D
I do recall seeing a similar macro but could not find it that the moment. But you can use #TASK SOLIDWORKS Referenced Files Extractor (Beta) to get list of all referenced components and their drawings. And then can export the list to #TASK tool and use inbuilt tool to create PDF files as needed.
Hi,
Check this link Anyone create this yet? and look for MTS RECURSIVE PRINT 2016.swp.zip
That should do what you are looking for.
Elmar
Hi,
Check this link Anyone create this yet? and look for MTS RECURSIVE PRINT 2016.swp.zip
That should do what you are looking for.
Elmar