Api session event editor overlay: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 16: | Line 16: | ||
|- | |- | ||
|[[api session event editor overlay remove|REMOVE]] | |[[api session event editor overlay remove|REMOVE]] | ||
|Remove the specified [[Overlay]] | |Remove the specified [[Overlay]]. | ||
|- | |- | ||
|[[api session event editor overlay remove attribute|REMOVE_ATTRIBUTE]] | |[[api session event editor overlay remove attribute|REMOVE_ATTRIBUTE]] | ||
|Remove the specified attributes of the specified [[Overlay]]. The attributes, including attributes which are added to an Overlay by default, are removed entirely. | |Remove the specified attributes of the specified [[Overlay]]. The attributes, including attributes which are added to an [[Overlay]] by default, are removed entirely. | ||
|- | |- | ||
|[[api session event editor overlay set attribute|SET_ATTRIBUTE]] | |[[api session event editor overlay set attribute|SET_ATTRIBUTE]] | ||
| Line 37: | Line 37: | ||
|- | |- | ||
|[[api session event editor overlay add legend entry|ADD_LEGEND_ENTRY]] | |[[api session event editor overlay add legend entry|ADD_LEGEND_ENTRY]] | ||
|Add a Legend Entry to a specified [[Overlay]]. The Overlay must have a custom legend before entries can be added to it. | |Add a Legend Entry to a specified [[Overlay]]. The [[Overlay]] must have a custom legend before entries can be added to it. | ||
|- | |- | ||
|[[api session event editor overlay add overlay function|ADD_OVERLAY_FUNCTION]] | |[[api session event editor overlay add overlay function|ADD_OVERLAY_FUNCTION]] | ||
| Line 43: | Line 43: | ||
|- | |- | ||
|[[api session event editor overlay add result child|ADD_RESULT_CHILD]] | |[[api session event editor overlay add result child|ADD_RESULT_CHILD]] | ||
|Add a specified result type as a child [[Overlay]] to a specified grid Overlay. The child Overlay's result will be based on the parent's calculation, allowing you to get multiple types of results from the same calculation. | |Add a specified result type as a child [[Overlay]] to a specified grid [[Overlay]]. The child [[Overlay]]'s result will be based on the parent's calculation, allowing you to get multiple types of results from the same calculation. | ||
|- | |- | ||
|[[api session event editor overlay add type|ADD_TYPE]] | |[[api session event editor overlay add type|ADD_TYPE]] | ||
|Add multiple new [[Overlay]] | |Add multiple new [[Overlay]] of the specified types. | ||
|- | |- | ||
|[[api session event editor overlay remove legend entry|REMOVE_LEGEND_ENTRY]] | |[[api session event editor overlay remove legend entry|REMOVE_LEGEND_ENTRY]] | ||
|Remove the specified legend entries from a specified [[Overlay]]. The Overlay must have a custom legend before entries can be removed from it. | |Remove the specified legend entries from a specified [[Overlay]]. The [[Overlay]] must have a custom legend before entries can be removed from it. | ||
|- | |- | ||
|[[api session event editor overlay remove overlay function|REMOVE_OVERLAY_FUNCTION]] | |[[api session event editor overlay remove overlay function|REMOVE_OVERLAY_FUNCTION]] | ||
| Line 55: | Line 55: | ||
|- | |- | ||
|[[api session event editor overlay remove prequel|REMOVE_PREQUEL]] | |[[api session event editor overlay remove prequel|REMOVE_PREQUEL]] | ||
|Remove a Grid [[Overlay]]'s prequel Overlay. | |Remove a Grid [[Overlay]]'s prequel [[Overlay]]. | ||
|- | |- | ||
|[[api session event editor overlay remove water weather|REMOVE_WATER_WEATHER]] | |[[api session event editor overlay remove water weather|REMOVE_WATER_WEATHER]] | ||
| Line 61: | Line 61: | ||
|- | |- | ||
|[[api session event editor overlay save grid|SAVE_GRID]] | |[[api session event editor overlay save grid|SAVE_GRID]] | ||
|Create a copy of each specified [[Overlay]]. The copies will have the same [[Setting]] | |Create a copy of each specified [[Overlay]]. The copies will have the same [[Setting]] and attributes, but can be edited independently of the originals. | ||
|- | |- | ||
|[[api session event editor overlay set attribute overlay color attribute|SET_ATTRIBUTE_OVERLAY_COLOR_ATTRIBUTE]] | |[[api session event editor overlay set attribute overlay color attribute|SET_ATTRIBUTE_OVERLAY_COLOR_ATTRIBUTE]] | ||
|Set which attribute a specified ATTRIBUTE [[Overlay]] should use to color the items it finds. If present in the item, it will use that attribute's color to color the item in the 3D world. If absent, the Overlay's color will be used. | |Set which attribute a specified ATTRIBUTE [[Overlay]] should use to color the items it finds. If present in the item, it will use that attribute's color to color the item in the 3D world. If absent, the [[Overlay]]'s color will be used. | ||
|- | |- | ||
|[[api session event editor overlay set attribute overlay values|SET_ATTRIBUTE_OVERLAY_VALUES]] | |[[api session event editor overlay set attribute overlay values|SET_ATTRIBUTE_OVERLAY_VALUES]] | ||
|Set which type of item and which attribute a specified ATTRIBUTE [[Overlay]] should highlight. The ATTRIBUTE Overlay will highlight each item it finds which is both of the specified maptype as well as has the specified attribute | |Set which type of item and which attribute a specified ATTRIBUTE [[Overlay]] should highlight. The ATTRIBUTE [[Overlay]] will highlight each item it finds which is both of the specified maptype as well as has the specified attribute | ||
|- | |- | ||
|[[api session event editor overlay set avg distance|SET_AVG_DISTANCE]] | |[[api session event editor overlay set avg distance|SET_AVG_DISTANCE]] | ||
| Line 76: | Line 76: | ||
|- | |- | ||
|[[api session event editor overlay set custom legend|SET_CUSTOM_LEGEND]] | |[[api session event editor overlay set custom legend|SET_CUSTOM_LEGEND]] | ||
|Set whether the specified [[Overlay]] has a custom legend. If the specified Overlay is reverted to use a default Overlay, any custom legend information for the Overlay is removed. | |Set whether the specified [[Overlay]] has a custom legend. If the specified [[Overlay]] is reverted to use a default [[Overlay]], any custom legend information for the [[Overlay]] is removed. | ||
|- | |- | ||
|[[api session event editor overlay set discharge method|SET_DISCHARGE_METHOD]] | |[[api session event editor overlay set discharge method|SET_DISCHARGE_METHOD]] | ||
| Line 91: | Line 91: | ||
|- | |- | ||
|[[api session event editor overlay set image|SET_IMAGE]] | |[[api session event editor overlay set image|SET_IMAGE]] | ||
|Change the icon displayed in the navigation window by the [[Overlay]]. Only existing [[Overlay]] [[Project Asset]] | |Change the icon displayed in the navigation window by the [[Overlay]]. Only existing [[Overlay]] [[Project Asset]] are allowed. | ||
|- | |- | ||
|[[api session event editor overlay set key value|SET_KEY_VALUE]] | |[[api session event editor overlay set key value|SET_KEY_VALUE]] | ||
|Change a key for a specified [[Overlay]]. The Overlay must be an Overlay which makes use of keys to read attributes of geographical items, as input for its calculation. | |Change a key for a specified [[Overlay]]. The [[Overlay]] must be an [[Overlay]] which makes use of keys to read attributes of geographical items, as input for its calculation. | ||
|- | |- | ||
|[[api session event editor overlay set legend entry color|SET_LEGEND_ENTRY_COLOR]] | |[[api session event editor overlay set legend entry color|SET_LEGEND_ENTRY_COLOR]] | ||
| Line 112: | Line 112: | ||
|- | |- | ||
|[[api session event editor overlay set overlay area|SET_OVERLAY_AREA]] | |[[api session event editor overlay set overlay area|SET_OVERLAY_AREA]] | ||
|Add or remove specified [[Area]] | |Add or remove specified [[Area]] to or from a specified AREAS [[Overlay]]. Unincluded [[Area]] which are already related to the [[Overlay]] will remain related. Unincluded [[Area]] which are not related to the [[Overlay]] will remain unrelated. | ||
|- | |- | ||
|[[api session event editor overlay set overlay image|SET_OVERLAY_IMAGE]] | |[[api session event editor overlay set overlay image|SET_OVERLAY_IMAGE]] | ||
| Line 124: | Line 124: | ||
|- | |- | ||
|[[api session event editor overlay set overlay source|SET_OVERLAY_SOURCE]] | |[[api session event editor overlay set overlay source|SET_OVERLAY_SOURCE]] | ||
|Add or remove specified [[Source]] | |Add or remove specified [[Source]] to or from a specified SOURCE [[Overlay]]. Unincluded [[Source]] which are already related to the [[Overlay]] will remain related. Unincluded [[Source]] which are not related to the [[Overlay]] will remain unrelated. | ||
|- | |- | ||
|[[api session event editor overlay set parent|SET_PARENT]] | |[[api session event editor overlay set parent|SET_PARENT]] | ||
|Set a parent [[Overlay]] for a specified Overlay. This will cause the specified Overlay to be a subselectable Overlay of the parent. It is not possible to set an Overlay which has a parent itself as a parent of another Overlay. | |Set a parent [[Overlay]] for a specified [[Overlay]]. This will cause the specified [[Overlay]] to be a subselectable [[Overlay]] of the parent. It is not possible to set an [[Overlay]] which has a parent itself as a parent of another [[Overlay]]. | ||
|- | |- | ||
|[[api session event editor overlay set prequel|SET_PREQUEL]] | |[[api session event editor overlay set prequel|SET_PREQUEL]] | ||
| Line 151: | Line 151: | ||
|- | |- | ||
|[[api session event editor overlay set show difference|SET_SHOW_DIFFERENCE]] | |[[api session event editor overlay set show difference|SET_SHOW_DIFFERENCE]] | ||
|Set whether a specified grid [[Overlay]] has a difference option. If an Overlay has a difference option, an addition output is available computed from the difference between the CURRENT and MAQUETTE outputs. | |Set whether a specified grid [[Overlay]] has a difference option. If an [[Overlay]] has a difference option, an addition output is available computed from the difference between the CURRENT and MAQUETTE outputs. | ||
|- | |- | ||
|[[api session event editor overlay set show system visualization|SET_SHOW_SYSTEM_VISUALIZATION]] | |[[api session event editor overlay set show system visualization|SET_SHOW_SYSTEM_VISUALIZATION]] | ||
|Set whether a specified [[Overlay]] visualizes the graph of systems which dictates its calculation. Pipes, center points of [[Area]] | |Set whether a specified [[Overlay]] visualizes the graph of systems which dictates its calculation. Pipes, center points of [[Area]], etc. | ||
|- | |- | ||
|[[api session event editor overlay set tensor normalized|SET_TENSOR_NORMALIZED]] | |[[api session event editor overlay set tensor normalized|SET_TENSOR_NORMALIZED]] | ||
Revision as of 07:53, 31 March 2026
API api session event editor overlay Events.
Overlay editing.
| Name | Description |
|---|---|
| ADD | Add a new Overlay of the specified type. |
| APPEND_ATTRIBUTE | Appended to existing Overlay attribute value |
| DUPLICATE | Duplicate existing Overlay |
| REMOVE | Remove the specified Overlay. |
| REMOVE_ATTRIBUTE | Remove the specified attributes of the specified Overlay. The attributes, including attributes which are added to an Overlay by default, are removed entirely. |
| SET_ATTRIBUTE | Set Overlay attribute value |
| SET_ATTRIBUTES | Set multiple Overlay attribute values |
| SET_NAME | Set the name for a specified Overlay. |
Specific Events:
| Name | Description |
|---|---|
| ADD_LEGEND_ENTRY | Add a Legend Entry to a specified Overlay. The Overlay must have a custom legend before entries can be added to it. |
| ADD_OVERLAY_FUNCTION | Add a Function to highlight to a specified FUNCTION Overlay. |
| ADD_RESULT_CHILD | Add a specified result type as a child Overlay to a specified grid Overlay. The child Overlay's result will be based on the parent's calculation, allowing you to get multiple types of results from the same calculation. |
| ADD_TYPE | Add multiple new Overlay of the specified types. |
| REMOVE_LEGEND_ENTRY | Remove the specified legend entries from a specified Overlay. The Overlay must have a custom legend before entries can be removed from it. |
| REMOVE_OVERLAY_FUNCTION | Remove a specified Function to highlight from a specified FUNCTION_HIGHLIGHT Overlay. |
| REMOVE_PREQUEL | Remove a Grid Overlay's prequel Overlay. |
| REMOVE_WATER_WEATHER | Remove Water Weather |
| SAVE_GRID | Create a copy of each specified Overlay. The copies will have the same Setting and attributes, but can be edited independently of the originals. |
| SET_ATTRIBUTE_OVERLAY_COLOR_ATTRIBUTE | Set which attribute a specified ATTRIBUTE Overlay should use to color the items it finds. If present in the item, it will use that attribute's color to color the item in the 3D world. If absent, the Overlay's color will be used. |
| SET_ATTRIBUTE_OVERLAY_VALUES | Set which type of item and which attribute a specified ATTRIBUTE Overlay should highlight. The ATTRIBUTE Overlay will highlight each item it finds which is both of the specified maptype as well as has the specified attribute |
| SET_AVG_DISTANCE | Set the averaging distance for a specified AVG Overlay. |
| SET_COMBO_FORMULA | Set formula for a Combo Overlay. |
| SET_CUSTOM_LEGEND | Set whether the specified Overlay has a custom legend. If the specified Overlay is reverted to use a default Overlay, any custom legend information for the Overlay is removed. |
| SET_DISCHARGE_METHOD | Set Discharge Method |
| SET_GEOTIFF | Change the GeoTIFF displayed by a specified GeoTIFF Overlay. |
| SET_GRID_ACTIVE | Activates or deactivates an Overlay. Only active Overlay are recalculated by the simulation. |
| SET_HEAT_MODEL | Set Heat Model |
| SET_IMAGE | Change the icon displayed in the navigation window by the Overlay. Only existing Overlay Project Asset are allowed. |
| SET_KEY_VALUE | Change a key for a specified Overlay. The Overlay must be an Overlay which makes use of keys to read attributes of geographical items, as input for its calculation. |
| SET_LEGEND_ENTRY_COLOR | Change the color of a specified legend entry of a custom legend of a specified Overlay. |
| SET_LEGEND_ENTRY_NAME | Change the name of a specified legend entry of a custom legend of a specified Overlay. |
| SET_LEGEND_ENTRY_VALUE | Change the value of a specified legend entry of a custom legend of a specified Overlay. |
| SET_NET_OVERLAY | Set the visualization style for a specified network Overlay. |
| SET_NEURAL_NETWORK | Set the Neural Network for an Inference Overlay. |
| SET_OVERLAY_AREA | Add or remove specified Area to or from a specified AREAS Overlay. Unincluded Area which are already related to the Overlay will remain related. Unincluded Area which are not related to the Overlay will remain unrelated. |
| SET_OVERLAY_IMAGE | Change the image displayed by a specified IMAGE Overlay. The image must be uploaded in the "Overlay" directory. |
| SET_OVERLAY_PRIMARY_COLOR | Set the color a specified FUNCTION or ATTRIBUTE Overlay uses to highlight found data. |
| SET_OVERLAY_REMAINDER_COLOR | Set the color a specified FUNCTION or ATTRIBUTE Overlay uses to color parts of the map where no relevant data is found. |
| SET_OVERLAY_SOURCE | Add or remove specified Source to or from a specified SOURCE Overlay. Unincluded Source which are already related to the Overlay will remain related. Unincluded Source which are not related to the Overlay will remain unrelated. |
| SET_PARENT | Set a parent Overlay for a specified Overlay. This will cause the specified Overlay to be a subselectable Overlay of the parent. It is not possible to set an Overlay which has a parent itself as a parent of another Overlay. |
| SET_PREQUEL | Set prequel Overlay. |
| SET_RASTERIZATION | Set the type of rasterization a specified AVG or Distance Overlay should do. |
| SET_RESULT_TYPE | Set the result type of a specified grid Overlay. The same calculation will be performed, but a different aspect of the calculation will be tracked and output. |
| SET_SERVICE_CRS | Set the prefered CRS for the Service Source of a specified Service Overlay. |
| SET_SERVICE_FORCE_XY | Set the prefered option to force the CRS order to longitude/latitude for the Service Source of a specified Service Overlay. |
| SET_SERVICE_LAYER | Set the Service layer names for a specified Service Overlay and Timeframe. |
| SET_SERVICE_SOURCE | Set the Service Source for a specified Service Overlay. |
| SET_SHOW_DIFFERENCE | Set whether a specified grid Overlay has a difference option. If an Overlay has a difference option, an addition output is available computed from the difference between the CURRENT and MAQUETTE outputs. |
| SET_SHOW_SYSTEM_VISUALIZATION | Set whether a specified Overlay visualizes the graph of systems which dictates its calculation. Pipes, center points of Area, etc. |
| SET_TENSOR_NORMALIZED | Set whether an input tensor of an Inference Overlay should be normalized when provided to a Neural Network. |
| SET_TENSOR_PREQUEL | Set the Inference Prequel for an input tensor of an Inference Overlay. |
| SET_TENSOR_RESULT_TYPE | Set the Inference Result for an output tensor of an Inference Overlay. |
| SET_TENSOR_VALUE_TYPE | Set the Value Type for an input tensor of an Inference Overlay. |
| SET_VISIBLE | Visualizes or hides an Overlay in the navigation Panel. |
| SET_WATER_MODE | Set Water Mode |
| SET_WATER_WEATHER | Set a specified Weather to serve as input for a specified water Overlay. |
| SWAP_ORDER | Swap Order |
Deprecated Events:
| Name | Description |
|---|---|
| REFRESH_GRID | Deprecated Functionality, entire map is always updated when UPDATE is called. Note that when the "Auto calculation" is not active, an editor/update/ event is required to generate the new Overlay results. Or for long-running updates use: editor/set_scheduled_update/ to schedule an update. |