How to Set the Number of Lines in the Command History

Published on July 11, 2012

When pressing F2 to look at the command line history, is the number of lines shown less than you want to see.

To set a new maximum number of lines Autocad shows in the command history dialog, you will need to send the following lisp expression:

(SETENV “CmdHistLines” “2000”)

The maximum number of lines is 2048 and the minimum is 25.

Note: this lisp exression can be added to your acad.lsp or acaddoc.lsp files so this setting is automatically set when Autocad is first launched, or when a new drawing is opened.

If you would like to see how many lines are being shown you can get the information by sending this lisp expression:

(GETENV “CmdHistLines”)


Tags: ,
Like this article? Share it!

Leave a Comment

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

Privacy Policy