Saveas to dated folder
Saveas to dated folder
(OP)
Hi does anyone know how to save the current AutoCAD drawing into a dated folder using a script involving filedia 0 command is there some sort of standard windows scrip that might work?
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS Come Join Us!Are you an
Engineering professional? Join Eng-Tips Forums!
*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail. Posting GuidelinesJobs |
|
RE: Saveas to dated folder
"Everybody is ignorant, only on different subjects." — Will Rogers
RE: Saveas to dated folder
qsave
filedia 0
saveas
2000
\\curent directory\dd/mm/yy\drawingname.dwg
-plot
qsave
filedia 1
close
Do you know of some sort of code that I could add to create the dated folder?
Also is there a way that I could bind all of the xrefs no matter what the name is.
I can go through the -xref command but the wildcard * giving me the option for 'all' does not work as I would like the pull down menu to be able to save the file into a dated folder then bind the xrefs ready for emailing. Hope you can help.
Adam
RE: Saveas to dated folder
I dont think you can though....
Have you used the etransmit? It sends everything associated with the file, xrefs, text and plot, even zips it up for you and fires off outlook with that drawing attached to a new mail message.
Alex
RE: Saveas to dated folder
This might be a good starting point for you. It doesn't do exactly as you describe but it's aRoutine to save a (WBlocked) copy of the current drawing as a "working version" (-WV) while continuing IN the current drawing.
i.e. you don't need to do a "saveas" then reopen the original
WV Drawings are saved in the same directory as the original with "-wvX" appended to the filename, where X= dwg increment.
e.g. "C:\temp\MyDwg.dwg" will be saved as:
"C:\temp\MyDwg-wv1.dwg" then
"C:\temp\MyDwg-wv2.dwg" etc
See http://w
It is provided as source code so you can modify it to suit your requirements, or if you wish, we could modify it for you. See our website for more details.
http://www.resourcecad.com ~ for your CAD solutions
RE: Saveas to dated folder