Hello,
I am looking for a macro that will lauch the save dialog box. I need to be able to browse to whichever folder I like then hit save and close. I found alot of examples that save to a specified location but I'm having a hard time pulling out what I need. Any suggestions would be appreciated.
Thanks,
Mark Coville
Mark, just add this line after the swModel.Extension.RunCommand line:
swApp.QuitDoc swModel.GetTitle
Note that if you have a drawing and a part with the same time open (e.g., "bracket") then which one gets closed is somewhat random. To ensure there is no confusion, you should have "Hide extensions for known file types" unchecked in your Windows folder options.
Keith
Video Tutorials for the SolidWorks API