Jump to content

Support File Path appending back-slashes to custom path


Recommended Posts

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?

Link to post
Share on other sites

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\\")
)

 

Link to post
Share on other sites
rkmcswain
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?

Link to post
Share on other sites

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