Set project location
set_geo_locationUpdate an Archicad project's location, latitude, longitude, north direction, and survey point; date/time changes also recompute the sun position.
Instructions
Changes the project location (Options > Project Preferences > Location / Survey Point). Give only the fields to change. Changing northDirection or the survey point needs an unlocked Survey Point (pass unlockSurveyPoint: true to unlock temporarily). Date/location changes also recompute the sun position. Returns the new location (as get_geo_location).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| altitude | No | Altitude above sea level (m) | |
| dateTime | No | Date and local time for the sun position (given parts only) | |
| latitude | No | Degrees, + = North | |
| longitude | No | Degrees, + = East | |
| summerTime | No | Daylight saving time (+1 h) | |
| surveyPoint | No | Survey Point position in project coordinates (m); z optional | |
| displayUnits | No | How Archicad displays these values (does not change the API units) | |
| geoReference | No | IFC map conversion / coordinate reference system data | |
| northDirection | No | Direction of geographic North on the plan in degrees, CCW from the +X axis (90 = up/+Y) | |
| timeZoneOffset | No | Archicad's time zone disambiguation index (keep the value from get_geo_location) | |
| timeZoneMinutes | No | Time zone offset from UTC in minutes, e.g. 240 = UTC+4 | |
| surveyPointLocked | No | Lock/unlock the Survey Point permanently | |
| unlockSurveyPoint | No | Temporarily unlock a locked Survey Point for this change (re-locked afterwards) | |
| surveyPointVisible | No | Show the Survey Point marker |