Increasing the size of AutoCAD’s command line history
Ever been frustrated when scrolling up in the AutoCAD text window, only to find information from earlier in that session had disappeared? I find this when listing AutoCAD commands and system variables, in particular. The standard command-line history is 400 lines, as far as I can tell, but the good news is that there’s a Registry setting allowing you to increase this amount.
[Thanks to various people in AutoCAD Engineering for tracking down this information (including Asheem Mamoowala, Karen Mason and Randy Kintzley).]
In AutoCAD R14, we had a Registry setting in the current profile exposed via an option in the old Preferences dialog. While the ability to edit the setting inside the product went away in AutoCAD 2000, the underlying Registry entry is still respected.
It’s called CmdHistLines, and is a DWORD setting with a valid range of 25-2048. Here’s the .reg file I used to set this to its maximum value for AutoCAD 2012 on my system:
Windows Registry Editor Version 5.00
The results are as you’d expect: using the SETVAR command to list the current system variables no longer fills the history buffer. You should be able to scroll back all the way to the beginning of the session.
[Finally, a complementary tip from Fenton Webb: if you set QAFLAGS to 2, this enables full scrolling, which means you don’t have to keep pressing the Return key to see the entire results of “ARX C *” or “SETVAR ? *”. Thanks, Fents! :-)]