Functions for Working with AutoCAD
System Variables
- Use the (getvar) and (setvar) commands to read and set the system variables, remember that you cannot set any system variable that has (read only) in it's description
- Good programming practice means reading all the system variables you change at the beginning of the program, and resetting them at the end You can make this very generic with a simple routine
- You will always get surprised by the impacts of system variables
- Some that are sure to get you sooner or later
- DIMZIN - suppresses leading and trailing zeros when converting real numbers to strings (RTOS)
- TEXTEVAL - changes the way the AutoCAD handles lisp input at the command prompt and text input in response to a pause in the (command) statement