Api session event editor building generate rotation angles

From Tygron Support wiki
Revision as of 10:04, 30 March 2026 by Frank@tygron.nl (talk | contribs) (Created page with "API Event to Calculation a rotation angle for buildings having the identifying attribute polygons, optionally only for specified buildings. {|class=wikitable !Name !Importance !Type !Description !Values |- |0 |REQUIRED |(String) |Identifying attribute | |- |1 |REQUIRED |(String) |Rotation attribute | |- |2 |OPTIONAL |(BUILDING Integer ID or multiple values in array [1, 2, 3]) |Specific buildingIDs only (optional) | |} ===Response Codes=== {|class=wikitable !Response Code...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

API Event to Calculation a rotation angle for buildings having the identifying attribute polygons, optionally only for specified buildings.

Name Importance Type Description Values
0 REQUIRED (String) Identifying attribute
1 REQUIRED (String) Rotation attribute
2 OPTIONAL (BUILDING Integer ID or multiple values in array [1, 2, 3]) Specific buildingIDs only (optional)

Response Codes

Response Code: Description
204 No Content
300-600 Codes Overview

Example POST

Example POST: https://engine.tygron.com/api/session/event/editorbuilding/generate_rotation_angles/?f=HTML&token=API_TOKEN

with content:

[ "Identifying attribute", "Rotation attribute", "" ]