Jump to content

Main customisation file not loading


pixel8er

Recommended Posts

Hi everyone

 

My Main Customisation file is not loading on AutoCAD open and my ribbon is not loading. If I go to the Options dialogue, select the path and browse to it then it works fine and the ribbon is loaded correctly.

 

See image for my customisation search path settings.

 

CustomisationFiles_zpssv0a8zmr.png

 

The Enterprise Customisation location permissions are read and execute. The Main Customisation location permissions are as per this image

 

Permission_Cdrive_zpsatuezrsm.png

 

My assumption was that folders I create on the C drive had write permission. I assume that's causing the issue? Any thoughts?

 

Thanks

Paul

Link to comment
Share on other sites

Set it all up the way you want. Go over to profiles save a profile say your name, then click on the Autocad desk top icon copy and paste click on the copy Properties in the Target look for /p it will have the default cuix etc to load change it to your name /p BIGAL

 

Click on it and hopefully it will work.

Link to comment
Share on other sites

Click on it and hopefully it will work.

 

Thanks BIGAL, but no luck, the same thing happens.

 

When I browse to the path of the main customisation file everything works. I have the SFSP's set at startup through the acad.lsp file. So the path is there, but doesn't work until I manually browse to it...weird.

 

CustomisationFiles2_zpsdb8mvq2o.png

 

Regards

Paul

Link to comment
Share on other sites

What I'd like to try is to put some code in the acad.lsp to:

 

1. remove the Enterprise and Main Customisation file paths

 

2. add them back in

 

Like with this code from Lee Mac

http://www.lee-mac.com/addremovesupportpaths.html

 

;; Remove Support File Search Paths  -  Lee Mac
;; Removes a list of Support File Search Paths if present.
;; lst - [lst] list of paths to remove (case-insensitive), e.g. '("C:\\Folder1" "C:\\Folder2" ... )
;; Returns: [str] "ACAD" Environment String following modification

(defun LM:sfsp- ( lst / del str tmp )

   (defun del ( old str / pos )
       (if (setq pos (vl-string-search (strcase old) (strcase str)))
           (strcat (substr str 1 pos) (del old (substr str (+ 1 pos (strlen old)))))
           str
       )
   )   
   (setq str (strcat (vl-string-right-trim ";" (getenv "ACAD")) ";")
         tmp str
   )
   (foreach pth lst
       (setq str (del (strcat (vl-string-right-trim "\\" (vl-string-translate "/" "\\" pth)) ";") str))
   )
   (if (/= tmp str) (setenv "ACAD" str))
)

 

Any idea if this could be amended to remove the Enterprise and Main customisation file paths rather than the SFSP?

Link to comment
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
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...