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 |
---|
Allowed clause parameters
Param | Type | Description | Limits search polygon |
---|---|---|---|
CATEGORY | Category | Category with this value Buildings of this category |
false |
FUNCTION | Item ID | Function with ID | false |
BUILDING | Item ID | Building with ID | false |
ADDRESS | Item ID | Address with ID | false |
STAKEHOLDER | Item ID | 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 | Item ID | Zone with ID | true |
PANEL | Item ID | Panel with ID | false |
INDICATOR | Item ID | Indicator with ID | false |
OVERLAY | Item ID | Overlay with ID | false |
NEIGHBORHOOD | Item ID | Neighborhood with ID | true |
AREA | Item ID | Area with ID | true |
TERRAIN | Item ID | Terrain of Terrain Type with ID | true |
NET_FUNCTION | Item ID | Net Function with ID | false |
NET_LINE | Item ID | 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.