Jump to content

Open to specific drive & folder


Seneb

Recommended Posts

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?

Link to comment
Share on other sites

REMEMBERFOLDERS

 

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.

1

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)

Link to comment
Share on other sites

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))
 (princ)
)

 

But this will ALWAYS go to J:\

Link to comment
Share on other sites

  • 4 weeks later...
  • 1 month later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...