Api session event editor building generate rotation angles

From Tygron Support wiki
Revision as of 14:11, 30 March 2026 by Frank@tygron.nl (talk | contribs)
Jump to navigation Jump to search

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

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", "" ]