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
Check this link Anyone create this yet? and look for MTS RECURSIVE PRINT 2016.swp.zip
That should do what you are looking for.
Are you talking about an excel file or a bom table in drawing?
Drawings in bom? Can you elaborate?
Could you please elaborate the requirements?
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.
I'm new to SW, how do I do this? Thank you
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.
New to SW, can you please explain what to do after clicking the Select/Replace button? Thank you
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?
Only changes the file name extension for me also
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
(sorry for the rant)
Josh, this doesn't seems to work. If this work, it would be really great.
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.
New to SW and macros. What do I do after unzipping the file please? Thank you
Solid Works wrote: New to SW and macros. What do I do after unzipping the file please? Thank you
Solid Works wrote:
Open your top level assembly file and then run this macro (Tools > Macro > Run and select the extracted SWP file). You should see a screen with options. Choose the required options and click on actions
Anyone that uses this, if you pick your own destination folder you must also deselect the Use Source Folder checkbox or else it'll still use the source folder.
Wish the macro allowed Shift + select
Retrieving data ...