Functions for Working with AutoCAD
Command (cont.)
- Sending Responses to the Drawing Editor
- Pause
- Pauses the command to ask for user input. I prefer to get all the user input before hand and send it to the command, that way I can check it for errors
- Can cause conflicts if lisp routine is called from a menu and there is more commands in the menu command
- Lets you see the drag mode of a command
- Variables
- Make sure you are sending the right type of variables that AutoCAD expects, for instance, remember that AutoCAD stores angles in radians (180 degrees = pi radians)
- Also be aware of units. If you send AutoCAD a real number, it ignores the units. This can cause confusion when you are in architectural units