The Preferences, Plot, and Utility Objects
 
 
 

Under the Preferences object is a set of objects, each corresponding to a tab in the Options dialog box. Together, these objects provide access to all the registry-stored settings in the Options dialog box. Drawing-stored settings are contained in the DatabasePreferences object. You can also set and modify options (and system variables that are not part of the Options dialog box) with the SetVariable and GetVariable methods. For more information about setting options see Set AutoCAD Preferences.

The Plot object provides access to settings in the Plot dialog box and gives an application the ability to plot the drawing using various methods. For more information on plotting, see Plot Your Drawing.

The Utility object provides user input and conversion functions. The user input functions are methods that prompt the user on the AutoCAD command line for input of various types of data, such as strings, integers, reals, points, and so forth. The conversion functions are methods that operate on AutoCAD-specific data types such as points and angles, in addition to string and number handling. For more information on the user input functions, see Prompt for User Input.