I found the attached macro on 3d content central by Mike Hauptman. It seems like it will do exactly what we are looking for, except when I run it, it ends up having an error. I know nothing about programming but I am assuming it is due to the macro being old and not updated? Link to originl below
My ideal scenario would be a macro that does exactly this
If run in an assembly or drawing file this macro will open all referenced parts do a hard rebuild and them save the files in the same directory |
EXCEPT - not open and rebuild the files that are not in that directory. That way I am only rebuilding the "job specific" items and not the "library" parts that are located elsewhere in the vault.
I am running SW 2015 & EPDM 2015.
Any help would be greatly appreciated
SolidworksApi macros