Years ago, I had someone create a macro for me that when I typed ZZ on my command line, the command would execute basically the following: Zoom, Extents, Zoom .8x of the extents. Could someone help with setting this up? I'd presume a macro must be written then somehow connected to the custom ZZ command.
Thanks,
cheddarthief
Solved! Go to Solution.
Solved by tmccar. Go to Solution.
Create a text file, and save it as"ZZ.LSP"
Copy and paste the following into it:
(defun C:ZZ ()
(command
"ZOOM" "E" "ZOOM" "0.8X"
); command
); defun
Within Autocad, run "Appload" and browse to where the file is saved, and load it.
Tick "Add to history", and "Load"
Your ZZ command should now be active
One more question. I went into an existing drawing and tried to run this ZZ function. It didn't recognize it. Year ago, you'd have to go into the Autocad config file to add the lisp routine so that you could execute it on any CAD dwg without having to load it. Is there a way to do that?
Appload and click on the suitcase icon then add your zz.lsp that will fix it.