View Full Version : Open to specific drive & folder
6th Feb 2009, 10:16 pm
We have all of our projects located on our "J" drive. With no files open, I want to set ACAD to go directly there instead of My Documents when selecting File > Open, Ctrl + o, or typing OPEN. Possible?
6th Feb 2009, 10:41 pm
0 Restores the behavior of AutoCAD 2000 and previous releases. When you start the program by double-clicking a shortcut icon, if a Start In path is specified in the icon properties, that path is used as the default for all standard file selection dialog boxes.
Uses standard Microsoft behavior. When you first start the program after installation, the default path in each standard file selection dialog box is My Documents. When you open or save a file to another folder, that folder is remembered for future file selection. The Start In folder specified for the shortcut icon is not used)
6th Feb 2009, 10:44 pm
You can also redefine the open command to a lisp routine:
(command "undefine" "open")
(defun c:open (/ dwgname path1)
(setq path1 (strcat "J:\\"))
(setq dwgname (getfiled "Open file" path1 "dwg" 4))
(vla-activate (vla-open (vla-get-documents (vlax-get-acad-object)) dwgname))
But this will ALWAYS go to J:\
6th Feb 2009, 10:50 pm
Awesome. That's just the info I needed. Our variable is set to 0, so I changed the path of the icon to "J:\" and it's perfect. Thanks!
2nd Mar 2009, 02:22 pm
This is helpful to me.
1st May 2009, 04:42 pm
Thanks! Massive help!
Powered by vBulletin™ Version 4.1.2 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.