Accessing Commands and Services
 
 
 

The query and command functions described in this section provide direct access to AutoCAD. commands and drawing services. Their behavior depends on the current state of the AutoCAD system and environment variables, and on the drawing that is currently loaded. See ##xref here - Query and Command Functions (app A Utility functions) in AutoLISP Function Synopsis for a complete list of query and command functions.

NoteThe AutoLISP examples in this chapter show code entered at the AutoCAD Command prompt, not the Visual LISP Console window.