Jump to content

Recommended Posts

Posted

AutoCAD 2018, Windows 10 x64 Enterprise 1803

I have added a custom path in the Support File Search Path to include a specific dwg which contains some custom blocks of mine. When I add the path, everything works as I would expect. When I restart CAD, the path to my dwg automatically updates itself, appending 2 x back-slashes to the end of the path, which means the dwg doesn't get loaded and I can't insert my custom blocks. If I go in and edit the path, removing the two back-slashes, everything works again. This only happens to my custom path, no other support file paths. 

 

supportpath.png

 

Anyone got any ideas?

Posted

You can use lisp to set support paths, temp directories, template name etc etc. So in relation to the directory not existing this is at top of code I use.

 

; make temp directory
(if (vl-file-directory-p "C:\\Acadtemp\\")
(Princ "Acadtemp exists")
(vl-mkdir "C:\\AcadTEMP\\")
)

 

Posted
12 hours ago, jw24 said:

It isn't at the moment, no

 

That makes sense, because if a path isn't resolved, it can't become a "Working" path.

 

There is no chance a startup routine is running to make this change?

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...