Drawing Settings (read / change)
drawing_settingsRead or modify common AutoCAD drawing settings using friendly names, such as units, dimension text height, and scale. Get a full snapshot of current settings or update multiple values in one call.
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 | |||