I have very little experience with AutoLISP, or programming in general, so sorry about this completely basic question.
I wrote a little program, the one I have attached here, that I'm hoping will execute the "exporttoautocad" command each time I open a drawing. I have created a file named "acaddoc.lsp", added the code (load "aec2.lsp") to it and put this file in my "Support File Search Path", as I read to do in these forums. From what I understand this should make it so my "aec2.lsp" program runs each time I open a drawing. Problem is, it isn't happening and I don't know why.
Is there something in how I've constructed the "aec2.lsp" program that is making it not run? Please take a look at the admittedly meager little file and let me know if there is something I have missed in how I wrote it or if I need to do something else to make it so this file loads and runs each time I open a drawing.
Thanks for any help offered.
Solved! Go to Solution.
Solved by hmsilva. Go to Solution.
"... I have created a file named "acaddoc.lsp", added the code (load "aec2.lsp")..."
need to call the function in the acadoc.lsp
(AWAY)
HTH
Henrique
Scot-65
A gift of extraordinary Common Sense does not require an Acronym Suffix to be added to my given name.