Select color (TQL)
Revision as of 14:39, 28 February 2023 by Frank@tygron.nl (talk | contribs)
Select | Unit | Description | Fixed clause amount | Polygon based |
---|---|---|---|---|
COLOR | HEX Color | Returns the value of the Color of an Item in HEX format | 1 | false |
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
- Returns the HEX Color of the color parameter of the Stakeholder with Item ID 3.
SELECT_COLOR_WHERE_STAKEHOLDERTYPE_IS_MUNICIPALITY
- 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.