Page 1 of 1

Auto-Save Technical Drawings

Posted: Wed Apr 24, 2024 5:31 am
by senuba
Hello.
I have a saved part file, for example "D:\part1.sldprt". I am creating a technical drawing of this part. When I save it, it asks me where to save and shows me drive D. The part is already inside D, so I'm wondering why SolidWorks is asking me this instead of directly saving it to D. I want to write a macro for this. I want either the technical drawing to save directly to the location where the part is saved without asking me, or for the macro to automatically save it to D. I've tried writing a macro that saves without asking me, but I haven't been successful. Can you help me with this? (I will further develop the macro later to include features like checking if the location is correct and saving as a PDF. I can handle that part, but I haven't yet managed the location saving part.)