Never did it before:
Need button macro that will open file (dwg) and execute one lisp command in it.
It is possible just something very simple?
Thank you in advance.
Lee I will need it only for one dwg. I don't need it to load with every start up. That is the problem. Start file execute lisp and that it for few weeks and start over again. It must be done in same way always but I think I or somebody will not remember it after time.
Of course "mylisp" is an example function in the lisp file itself.
Thats for the button...
Create and save the lisp in one of the autocad support file search paths. You can see where they are or add the folder where your lisp is stored: options>first tab>support file search paths>add>browse to your location.
Now in this same folder create a file called acaddoc.lsp. In this file you put 1 line:'