Select color (TQL): Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 22: | Line 22: | ||
==Examples== | ==Examples== | ||
* <code>SELECT_COLOR_WHERE_AREA_IS_5</code> | * <code>SELECT_COLOR_WHERE_AREA_IS_5</code> | ||
::''Returns the [[Color#HEX_format|HEX Color]] of the COLOR [[Attribute]] of the [[Area]] with Item ID 5.'' | :: ''Returns the [[Color#HEX_format|HEX Color]] of the COLOR [[Attribute]] of the [[Area]] with Item ID 5.'' | ||
* <code>SELECT_COLOR_WHERE_STAKEHOLDER_IS_3/code> | * <code>SELECT_COLOR_WHERE_STAKEHOLDER_IS_3/code> | ||
::''Returns the [[Color#HEX_format|HEX Color]] of the color parameter of the [[Stakeholder]] with Item ID 3.'' | :: ''Returns the [[Color#HEX_format|HEX Color]] of the color parameter of the [[Stakeholder]] with Item ID 3.'' | ||
* <code>SELECT_COLOR_WHERE_STAKEHOLDERTYPE_IS_MUNICIPALITY/code> | * <code>SELECT_COLOR_WHERE_STAKEHOLDERTYPE_IS_MUNICIPALITY/code> | ||
::''Returns the [[Color#HEX_format|HEX Color]] of the default color of the Stakeholder Type MUNICIPALITY.'' | :: ''Returns the [[Color#HEX_format|HEX Color]] of the default color of the Stakeholder Type MUNICIPALITY.'' | ||
{{article end | {{article end | ||
|notes= | |notes= | ||
Revision as of 17:49, 17 February 2023
| Select | Unit | Description | Fixed clause amount | Polygon based |
|---|
| Select | Unit | Description | Fixed clause amount | Polygon based |
|---|
| Param | Value | Description | Limits search polygon |
|---|---|---|---|
| CATEGORY |
Category X, Y, XA, YA |
Category with this value Buildings of this Category |
false |
| FUNCTION |
Integer (Item ID), ID, X, Y, XC, YC XA, YA, XK or YK |
Function with ID | false |
| BUILDING |
Integer (Item ID), ID, X, Y, XC, YC XA, YA, XK or YK |
Building with ID | false |
| ADDRESS |
Integer (Item ID), ID, X, Y, XC, YC XA, YA, XK or YK |
Address with ID | false |
| STAKEHOLDER |
Integer (Item ID), ID, X, Y, XC, YC XA, YA, XK or YK |
Stakeholder with ID Only include Plots that are owned by the stakeholder with this ID Only include Items that are related to this stakeholder |
true |
| STAKEHOLDERTYPE | Stakeholder Type | Stakeholder Type with this value Only include Plots that are owned by this type of Stakeholder |
true |
| ZONE |
Integer (Item ID), ID, X, Y, XC, YC XA, YA, XK or YK |
Zone with ID | true |
| PANEL |
Integer (Item ID), ID, X, Y, XC, YC XA, YA, XK or YK |
Panel with ID | false |
| INDICATOR |
Integer (Item ID), ID, X, Y, XC, YC XA, YA, XK or YK |
Indicator with ID | false |
| OVERLAY |
Integer (Item ID), ID, X, Y, XC, YC XA, YA, XK or YK |
Overlay with ID | false |
| NEIGHBORHOOD |
Integer (Item ID), ID, X, Y, XC, YC XA, YA, XK or YK |
Neighborhood with ID | true |
| AREA |
Integer (Item ID), ID, X, Y, XC, YC XA, YA, XK or YK |
Area with ID | true |
| TERRAIN |
Integer (Item ID), ID, X, Y, XC, YC XA, YA, XK or YK |
Terrain of Terrain Type with ID | true |
| NET_FUNCTION |
Integer (Item ID), ID, X, Y, XC, YC XA, YA, XK or YK |
Net Function with ID | false |
| NET_LINE |
Integer (Item ID), ID, X, Y, XC, YC XA, YA, XK or YK |
Net Line with ID | false |
Examples
SELECT_COLOR_WHERE_AREA_IS_5
SELECT_COLOR_WHERE_STAKEHOLDER_IS_3/code>
- Returns the HEX Color of the color parameter of the Stakeholder with Item ID 3.
SELECT_COLOR_WHERE_STAKEHOLDERTYPE_IS_MUNICIPALITY/code>
- Returns the HEX Color of the default color of the Stakeholder Type MUNICIPALITY.
Notes
- Function (TQL Param) and Building (TQL Param) return the color of their first Category.