Autodesk Technology Managers Forum
Share your knowledge, ask questions, and engage with fellow CAD/BIM Managers.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Reply
Message 1 of 5
Anonymous
137 Views, 4 Replies

Autolisp

I cannot get the acad.lsp and macro.lsp files (that I have used for the past
10 years in releases 14, 2000, 2002, ADT 2004, ADT 2005, and ADT 2006) to
run in Land Desktop 2004.



Typically, the files only needed to reside in the "C:\Program
Files\Architectural Desktop 200X\Support" folder. 2005 and 2006 required
that they also be loaded at the Command prompt using "appload" command.



In the Options dialog box, on the System tab, the box is checked to "Load
acad.lsp with every drawing."



Any suggestions? All of my keyboard short cuts are run using these files
and I am not nearly as productive without them.



Thanks to all . . .
4 REPLIES 4
Message 2 of 5
cprettyman
in reply to: Anonymous

Is there by any chance another acad.lsp somewhere in your search paths? The last time I had trouble with acad.lsp, it was because ACAD was finding a draft copy earlier in its search path list and running that, instead fo the one I was editing.
Message 3 of 5
Anonymous
in reply to: Anonymous

And doesn't this folder where they reside need to be higher on the "Support
File Search Path" than any other folder where one of those "errant" LSP
files might be?

--
Don Reichle
"The only thing worse
than training your staff,
and having them leave is -
not training your staff,
and having them stay."
Courtesy Graphics Solution Providers
----------------------------------------------------------
C3D/LDT/CD/SVY-2K6
AMD XP 3200+ 2.2GHz
XPPro 32bit SP2
1GB RAM
Nvidia GeForce4 MX 4000 128MB



wrote in message news:5132166@discussion.autodesk.com...
Is there by any chance another acad.lsp somewhere in your search paths? The
last time I had trouble with acad.lsp, it was because ACAD was finding a
draft copy earlier in its search path list and running that, instead fo the
one I was editing.
Message 4 of 5
cprettyman
in reply to: Anonymous

As I understand it, ACAD will read through the contents of all of the folders defined in the "support file search path" section of the profile, and run the first acad.lsp and acaddoc.lsp it finds. My mistake was that in testing various configurations, I had multiple profiles, and in one of them for some reason (I've forgotten what it was) I had added my desktop to the search paths.

So, yes, I think you can have multiple acad.lsp's and run the correct one simply by controlling the order of your search paths. But I think a better solution would be to only have one acad.lps in your search path anywhere, and if you have draft copies, or different acad.lsp files for different profiles, put the in folders that are outside the search paths.
Message 5 of 5
Anonymous
in reply to: Anonymous

On Tue, 4 Apr 2006 23:44:47 +0000, Sean wrote:

>Typically, the files only needed to reside in the "C:\Program
>Files\Architectural Desktop 200X\Support" folder. 2005 and 2006 required
>that they also be loaded at the Command prompt using "appload" command.

The files need to be found FIRST in the support path. The support folder you
mention is not the first folder in the default path.

And no, they don't require appload, if they are the first ones found on the
support path.

>In the Options dialog box, on the System tab, the box is checked to "Load
>acad.lsp with every drawing."

Usually, you customize acaddoc.lsp and put that in the support folder; it will
get loaded on every drawing. I reserve acad.lsp to be loaded only once when
AutoCAD fires up, and it only loads certain things like some ARX addons and a
(vl-load-com) statement to initialize VisualLISP functions across the entire
AutoCAD session.

>Any suggestions? All of my keyboard short cuts are run using these files
>and I am not nearly as productive without them.

You have another acad.lsp file that is being loaded before yours. Check your
support paths in order.

Matt
mstachoni@comcast.net
mstachoni@bhhtait.com

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

Post to forums  

Administrator Productivity


Autodesk Design & Make Report