Set Preference
system_preferences_setSet a writable AutoCAD system preference by key and value. Returns old, new, and changed status, rejecting invalid keys, types, or out-of-range values.
Instructions
Write one preference and report old, new and changed.
Refusals, all before any write: a read-only key (Files.*), an unknown
key, a value of the wrong type, an int outside the authored range
(AutoSaveInterval 0–600 min, CursorSize 1–100, PickBoxSize 0–50, …),
an unknown SaveAsType name; headless, capability: "preferences".
Pack: settings · lean: no.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | A writable key from system_preferences_get | |
| value | Yes | New value: bool, int within the key's range, string, or an enum name |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||