Trusted location for custom lisp file acad mac

Trusted location for custom lisp file acad mac

MILESarch
Enthusiast Enthusiast
4,334 Views
12 Replies
Message 1 of 13

Trusted location for custom lisp file acad mac

MILESarch
Enthusiast
Enthusiast

Sorry if this has been answered before, I could only find an answer for the Win version.  How do I add a trusted location for ACAD Mac, so that I don't get a warning everytime I start AC.  I used to keep these in the AC package file under 2013 but thought I would do it the right way under 2014 and put them in a folder under my user library application support  etc. etc.

 

Thanks!

0 Likes
Accepted solutions (1)
4,335 Views
12 Replies
Replies (12)
Message 2 of 13

maxim_k
Consultant
Consultant
Accepted solution

Hello,

 

You have to set TRUSTEDPATHS to appropriate value. Unfortunately you have to do this at the Command prompt, so if you have multiple folders you have to separated them by semicolons like this:

"/Users/YOUR_USERNAME/AutoCAD Support/LSP;/Users/YOUR_USERNAME/AutoCAD Support/HATCH"

(When TRUSTEDPATHS is set to one or more folder paths in quotes and separated by semicolons, the previously listed file types are loaded from the specified folders.)

 

Or, if for example you want all subfolders of "AutoCAD Support" folder to be included in Trusted paths, then you can set TRUSTEDPATHS to:

"/Users/YOUR_USERNAME/AutoCAD Support/..."

(When TRUSTEDPATHS includes a folder that ends with \... (backslash and three dots) or /... (backslash and three dots), all of its subfolders are also trusted.)

 

Maxim


Do you find the posts helpful? "LIKE" these posts!
Have your question been answered successfully? Click 'ACCEPT SOLUTION' button.


Maxim Kanaev
Architect
MARSS

MacACAD | Linkedin

Etiquette and Ground Rules of Autodesk Community
0 Likes
Message 3 of 13

MILESarch
Enthusiast
Enthusiast
Thanks Maxim. Worked like a charm. I appreciate it!
0 Likes
Message 4 of 13

Anonymous
Not applicable

Does this include Autocad LT 2013 on mac?

0 Likes
Message 5 of 13

maxim_k
Consultant
Consultant
No.

Because:
1. TRUSTEDPATHS system variable available since 2014 version
2. there is no LISP in AutoCAD LT

Maxim

Do you find the posts helpful? "LIKE" these posts!
Have your question been answered successfully? Click 'ACCEPT SOLUTION' button.


Maxim Kanaev
Architect
MARSS

MacACAD | Linkedin

Etiquette and Ground Rules of Autodesk Community
0 Likes
Message 6 of 13

Anonymous
Not applicable

I am getting this warning. I didnt quite get how to sort out this. I read your instruction quite a few time and still dont know what to do?

I am using autocad 2014 in mac.

 

 

Thanks

0 Likes
Message 7 of 13

maxim_k
Consultant
Consultant
Welcome to Autodesk Forums!

Hi,

If you are not sure about acaddoc.lsp file mentioned in this alert and you have not put this file to the "AutoCAD 2014" folder, than you can safely delete this file:
Go to the /Applications/Autodesk/AutoCAD 2014 folder and move acaddoc.lsp file to the Trash.

I just wonder how it got there?

Maxim

Do you find the posts helpful? "LIKE" these posts!
Have your question been answered successfully? Click 'ACCEPT SOLUTION' button.


Maxim Kanaev
Architect
MARSS

MacACAD | Linkedin

Etiquette and Ground Rules of Autodesk Community
0 Likes
Message 8 of 13

Anonymous
Not applicable
Hi
I put the lsp in that folder. coz i created a alias for Multiple points.
for more info you can see this link.
http://forums.autodesk.com/t5/autocad-2013-2014-2015-2016-2017/commands-or-keyboard-alias/m-p/638527...

without deleting is there anyway i can get rid of this alert?
0 Likes
Message 9 of 13

maxim_k
Consultant
Consultant
I'd suggest you to create special folder inside your Home folder and put acaddoc.lsp there instead of putting it to the Applications folder.
Then you can add this special folder you created to TRUSTEDPATHS system variable as I described earlier.

Maxim

Do you find the posts helpful? "LIKE" these posts!
Have your question been answered successfully? Click 'ACCEPT SOLUTION' button.


Maxim Kanaev
Architect
MARSS

MacACAD | Linkedin

Etiquette and Ground Rules of Autodesk Community
0 Likes
Message 10 of 13

Anonymous
Not applicable

Hi,

sorry i tried my best to work it out but I couldn't. I did create a special folder and put all my lsp file in it. and now i dont know how to put my special folder into trustedpaths. I have attached a screen shot what i did in command prompt. 

 

thanks

 

0 Likes
Message 11 of 13

maxim_k
Consultant
Consultant
Suppose you created "autocad support" folder inside your home folder and you put acaddoc.lsp there.
Now you need to launch AutoCAD, go to AutoCAD Preferences, in Application tab you need to add this folder - autocad support - to "Support Files Search Path" on the right side of the Preferences window.
Now you need to type at the command prompt the name of the system variable TRUSTEDPATHS and hit Return, now type at the command prompt:

/Users/aj/autocad support/...

and hit Return.

That is all.
You don't need to use Terminal application, you do everything inside AutoCAD.

Maxim

Do you find the posts helpful? "LIKE" these posts!
Have your question been answered successfully? Click 'ACCEPT SOLUTION' button.


Maxim Kanaev
Architect
MARSS

MacACAD | Linkedin

Etiquette and Ground Rules of Autodesk Community
0 Likes
Message 12 of 13

Anonymous
Not applicable

thank you for your time and patience. I did try what you said but still it didnt work. I have added a screen shot you can have a look. 

 

but I did manage to sort it out. On load application i have an option startup content i added my .lsp file on the startup content everytime I open Autocad it loads and now warning as well.

 

Thank you.

 

 

0 Likes
Message 13 of 13

maxim_k
Consultant
Consultant

Hi Adam,

 

now you only need to add "/Users/KS/Desktop/lsp files" folder to TRUSTEDPATHS system variable.

At the command prompt type:

 

Command: TRUSTEDPATHS                                                                 <- hit Return here
Enter new value for TRUSTEDPATHS, or . for none <".">: /Users/KS/Desktop/lsp files    <-Type the path and hit Return here
Command:

I marked with bold the text you need to type at the command prompt.

 

Maxim


Do you find the posts helpful? "LIKE" these posts!
Have your question been answered successfully? Click 'ACCEPT SOLUTION' button.


Maxim Kanaev
Architect
MARSS

MacACAD | Linkedin

Etiquette and Ground Rules of Autodesk Community
0 Likes