Lisp Won't Stay Loaded
I'm new to installing and using Lisps, I don't know what took me so long as I've been getting my CAD on since hs, I'm now 30. Anyway, I have noticed I will load it and a few minutes later have to re-load it as it's not recognizing the command anymore.Thoughts? I'm sure it's user error. http://www.afralisp.net/autolisp/tutorials/loading-autolisp-files.php
Read that. It might help. That just confirmed I have it loaded correctly. I guess my next question is, why do I have to re-load all the routines every time I close and re-open a drawing? I also noticed if I load a lisp in one drawing, it doesn't load it throughout CAD. I still have to load it in every open drawing. See if this helps.. LEE MAC THE MAGNIFICENT http://docs.autodesk.com/ACD/2010/ENU/AutoCAD%202010%20User%20Documentation/index.html?url=WS73099cc142f4875513fb5cd10c4aa30d6b-7bd0.htm,topicNumber=d0e389930
I'm only on AutoCAD LT so I don't know much about LISP. Sorry if I cant help very much. Just look for the "Overview of AutoLISP automatic loading" in the link. It's all good, any help is appreciated Tuns. Hulk, I'll give that link a look at over my lunch break. Duty calls. Would it be alright if I asked... are you on a job for A&M regarding the stadium they're building? Or adding to I should say. Nope, the architect isn't local.. I could completely be making this up but I want to say they're out of CA. Ah that's good. That job is going to be a huge cluster ****. We didn't bother bidding it because of that reason. The architect is Populous.. and they look to be a global company.
This is because AutoLISP (& Visual LISP) runs within the Document Namespace, i.e. for every open drawing, there is an allocation of memory set aside for AutoLISP in which every defined function, variable & symbol is stored.
In this way, the same variable or function can hold different values in each drawing (namespace), without any inteference since the symbols cannot interact between namespaces.
For information on how to automatically load a program when a drawing is opened, see my tutorial here.
页:
[1]
2