Drawing Settings (read / change)
drawing_settingsSet or view AutoCAD drawing settings by friendly names. Change units, dimension text, scale, and more without memorizing system variable names; omit arguments to get a full snapshot.
Instructions
Read or change common AutoCAD drawing settings by friendly name.
A convenience facade over the system variables (INSUNITS, LUPREC, LTSCALE, DIMSCALE, DIMTXT, DIMASZ, DIMDEC, DIMDSEP, DIMZIN, TEXTSIZE, OSMODE, …) so the user can say "set units to mm and dimension text to 3.5" without memorising sysvar names. Call with no argument to get a full snapshot of the current settings.
dim_text_height / dim_arrow_size / dim_decimals / decimal_separator
/ zero_suppression shape the dimension — text_size is TEXTSIZE, the
height of a standalone TEXT entity, and does not touch dimensions.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| settings | No | Omit to READ every setting; pass a dict to CHANGE them. Friendly keys: units (mm/cm/m/inch/feet), linear_precision, angular_precision, ltscale, dimscale, dim_text_height, dim_arrow_size, dim_decimals, decimal_separator ("." or ","), zero_suppression, text_size, point_mode, point_size, osmode, fillet_radius. Example: {"units": "mm", "dimscale": 1.0, "dim_text_height": 3.5}. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||