2009-12-02 16:35 UTC
Hello,
Here is my trouble, i have to reload automatically my tools when user open a new file, or when user swith between allready loaded autocad files.
I have a try with DocActivatedEvent, but i didn't put a function but an lisp order like
"(load "D:/test.lsp")"
So , it look like work fine , but an error appear :
An error : Incorrect function : 2 ???
Well, i know that is not the best way to use it, but i'll be very please to do it this way ;)
(load "D:/test.lsp")
then open another drawing, or swith between allready loaded drawing.
Here is my trouble, i have to reload automatically my tools when user open a new file, or when user swith between allready loaded autocad files.
I have a try with DocActivatedEvent, but i didn't put a function but an lisp order like
"(load "D:/test.lsp")"
So , it look like work fine , but an error appear :
Commande: Une erreur : fonction incorrecte: 2
An error : Incorrect function : 2 ???
Well, i know that is not the best way to use it, but i'll be very please to do it this way ;)
(load "D:/test.lsp")
then open another drawing, or swith between allready loaded drawing.