First post! I migrated over here because the new SW forum is unusable.
I’m looking for a macro to save all the parts in a given assembly as step files. I found some stuff on the old SW forum but all the links seem to be gone. Does anyone know of anything?
Yes, I know artem posted a link to all his macros and that one is there (also a lot more. Thanks Artem!). Let me do some digging and I’ll post a link here.
Get the one that’s closest to what you need and post back here if you need help. As Matt posted, there are some good programmers here that can help (I’ll pitch in, but my advice compared to theirs’ is nowhere near as good).
Remember that if you want to share a macro, one great way to make sure it gains visibility is to use the Upload function in the menu bar at the top of the window. This way all the macros can be in one easy to search location.
Damn you guys are quick! Thank you for all the help. I was originally hoping to be able to do this through Solidworks PDM which I have set up to create pdf’s when I release an assembly. Turns out you need the pro version to do that with step file, so here I am.
artem, I’ll give that macro a shot this morning. I am pretty new to macros so I may be back with questions.
The macro works really good but I would like it to Name the drawing file with the part revision. Im not sure the input for that. I know solidworks has this for pulling revision from other areas but that does work “($PRPSHEET:{Revision})” I also cant get the macro to stop saving the part as a .PDF
The inputs I have used
OUT_NAME_TEMPLATES = Array(“<FileName>.pdf”, “<FileName>.x_t”)
image.png
We also Use PDM data card but I have tried “Dwg Rev”