Set Project Preferences
set_preferencesUpdate Archicad project preferences such as working units, dimensions, and floor plan cut plane. Read current values first, then modify only specified sections.
Instructions
Changes Project Preferences (only the given sections/fields; read the current values with get_preferences first). Examples: {workingUnits: {lengthUnit: 'Millimeter', lengthDecimals: 0}}, {dimensions: {linear: {unit: 'Centimeter', decimals: 1}}}, {floorPlanCutPlane: {cutHeight: 1.2}}, {environment: {autoIntersect: false}}. Returns per-section {ok, value} | {error}. dataSafety is read-only. In Teamwork, Project Preferences must be reserved.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| zones | No | Zone area calculation preferences | |
| legacy | No | Legacy preferences | |
| layouts | No | Layout preferences | |
| dimensions | No | Dimension display formats (Project Preferences > Dimensions) | |
| environment | No | Session switches (not stored in Project Preferences). autoGroup and exportTolerance are read-only | |
| workingUnits | No | Working units (display only — the API always works in meters/degrees) | |
| referenceLevels | No | The two custom reference levels (e.g. Sea Level) used by elevation values | |
| calculationRules | No | Calculation rules (conditional hole subtraction, special skins) | |
| calculationUnits | No | Calculation units used by schedules/properties (Project Preferences > Calculation Units & Rules) | |
| floorPlanCutPlane | No | Floor Plan Cut Plane settings (Document > Floor Plan Cut Plane) | |
| imagingAndCalculation | No | Imaging and calculation preferences |