pixel8er Posted November 17, 2016 Share Posted November 17, 2016 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. The Enterprise Customisation location permissions are read and execute. The Main Customisation location permissions are as per this image 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 Quote Link to comment Share on other sites More sharing options...
BIGAL Posted November 17, 2016 Share Posted November 17, 2016 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. Quote Link to comment Share on other sites More sharing options...
pixel8er Posted November 17, 2016 Author Share Posted November 17, 2016 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. Regards Paul Quote Link to comment Share on other sites More sharing options...
pixel8er Posted November 18, 2016 Author Share Posted November 18, 2016 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? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.