AutoCAD for Mac Forum
Welcome to Autodesk’s AutoCAD for Mac Forums. Share your knowledge, ask questions, and explore popular AutoCAD for Mac topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Trusted location for custom lisp file acad mac

12 REPLIES 12
SOLVED
Reply
Message 1 of 13
MILESarch
3562 Views, 12 Replies

Trusted location for custom lisp file acad mac

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!

12 REPLIES 12
Message 2 of 13
maxim_k
in reply to: MILESarch

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
Message 3 of 13
MILESarch
in reply to: maxim_k

Thanks Maxim. Worked like a charm. I appreciate it!
Message 4 of 13
push_pull
in reply to: MILESarch

Does this include Autocad LT 2013 on mac?

Message 5 of 13
maxim_k
in reply to: push_pull

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
Message 6 of 13
adam.jan1
in reply to: maxim_k

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

Message 7 of 13
maxim_k
in reply to: adam.jan1

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
Message 8 of 13
adam.jan1
in reply to: maxim_k

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?
Message 9 of 13
maxim_k
in reply to: adam.jan1

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
Message 10 of 13
adam.jan1
in reply to: maxim_k

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

 

Message 11 of 13
maxim_k
in reply to: adam.jan1

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
Message 12 of 13
adam.jan1
in reply to: maxim_k

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.

 

 

Message 13 of 13
maxim_k
in reply to: adam.jan1

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

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost