Api session event editor terraintype

From Tygron Support wiki
Jump to navigation Jump to search

API Endpoint: api/session/event/editorterraintype/

API Endpoints for Terrain Type editing.

Name Description
add Add a new Surface or Underground Terrain Type
add_polygons Add Terrain of a particular Terrain Type for a MultiPolygon. Optionally adjust the Terrain height for transitions between Water and non-water Terrains
duplicate Duplicate existing Terrain Type
import Import Terrain collection
remove_attribute Remove numeric Attribute from Terrain Type
set_attribute Set Terrain Type numeric Attribute value
set_attributes Set multiple Terrain Type numeric Attribute values
set_name Set the name of a Terrain Type

Additional API Endpoints:

Name Description
remove_and_replace Remove a Terrain Type and replace it with another
set_code Set the code name of a Terrain Type
set_parent Set the Terrain Type parent of a Terrain Type