Api session event editor building: Difference between revisions

From Tygron Support wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
Api session event editor building Events.
Api session event editor building Endpoints.


API Endpoints for [[Building]] editing.
API Endpoints for [[Building]] editing.
Line 10: Line 10:
|-
|-
|[[Api session event editor building add polygons|add_polygons]]
|[[Api session event editor building add polygons|add_polygons]]
|Add polygons for [[Building]] [[Section]]. In case the [[Building]] is empty, optionally set ownership to largest [[Plot]] Owner of provided MultiPolygon
|Add polygons for [[Building]] [[Section]]. In case the [[Building]] is empty, optionally set ownership to largest [[Plot]] Owner of provided [[#Api Model MultiPolygon|MultiPolygon]]
|-
|-
|[[Api session event editor building append attribute|append_attribute]]
|[[Api session event editor building append attribute|append_attribute]]
Line 110: Line 110:
|[[Api session event editor building set slanting roof height|set_slanting_roof_height]]
|[[Api session event editor building set slanting roof height|set_slanting_roof_height]]
|Change [[Slanting roof height (Function Value)|Height of the Slanting Roof]] of a [[Building]] section
|Change [[Slanting roof height (Function Value)|Height of the Slanting Roof]] of a [[Building]] section
|}
Deprecated API Endpoints:
{|class=wikitable
!Name
!Description
|-
|[[Api session event editor building duplicate sections|duplicate_sections]]
|Use DUPLICATE_SECTION instead for identical result.
|}
|}
{{article end|seealso=*[[Api Events]]
{{article end|seealso=*[[Api Events]]
*[[Api session items buildings]]
}}
}}


[[Category:API]]
[[Category:API]]

Latest revision as of 08:19, 29 May 2026

Api session event editor building Endpoints.

API Endpoints for Building editing.

Name Description
add Add new Building
add_polygons Add polygons for Building Section. In case the Building is empty, optionally set ownership to largest Plot Owner of provided MultiPolygon
append_attribute Appended to existing Building attribute value
duplicate Duplicate existing Building
import Import Building Collection
remove Remove existing Building
remove_attribute Remove attribute from Building
remove_polygons Delete polygons for Building Section
set_attribute Set Building attribute value
set_attributes Set multiple Building attribute values
set_name Set new name of existing Building

Additional API Endpoints:

Name Description
add_geometry Add a custom Building geometry
add_road Add Road
add_section Add Section
add_standard Add Standard
add_underground Add Underground
duplicate_section Duplicate a Building Section.
generate_rotation_angles Calculation a rotation angle for Building having the identifying attribute polygons, optionally only for specified Building.
generate_water_connection Generate Water Connection.
multi_select Multi Select
query Executes a single TQL query. Note: you can also use the session/query endpoint to execute multiple statements and get additional information on API usage.
remove_geometries Remove all custom Building geometries
remove_sections Remove Sections
reset_category_values Reset Category Values
reset_function_values Reset Function Values
reset_slanting_roof_height Reset Height of the Slanting Roof of a Building section
set_category_value Set Category Value
set_decals Set Decals
set_floors Change amount of floors
set_function Set Function
set_function_value Set Function Value
set_owner Set Owner
set_slanting_roof_height Change Height of the Slanting Roof of a Building section