Select active (TQL): Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 13: | Line 13: | ||
==Examples== | ==Examples== | ||
* <code>SELECT_ACTIVE_WHERE_AREA_IS_5</code> | * <code>SELECT_ACTIVE_WHERE_AREA_IS_5</code> | ||
: ''Returns whether the [[Area]] with Item ID 5 is considered active; I.e. the area has an ACTIVE [[Attribute]] that has a value that is larger than 0.'' | :: ''Returns whether the [[Area]] with Item ID 5 is considered active; I.e. the area has an ACTIVE [[Attribute]] that has a value that is larger than 0.'' | ||
* <code>SELECT_ACTIVE_WHERE_NET_TYPE_IS_ELECTRICITY</code> | * <code>SELECT_ACTIVE_WHERE_NET_TYPE_IS_ELECTRICITY</code> | ||
: ''Returns whether the [[Net Setting]] ELECTRICITY_ACTIVE is considered active; I.e. the setting has a value of true.'' | :: ''Returns whether the [[Net Setting]] ELECTRICITY_ACTIVE is considered active; I.e. the setting has a value of true.'' | ||
{{TQL nav}} | {{TQL nav}} | ||
Revision as of 17:33, 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 |
|---|---|---|---|
| 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 |
| 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 |
| NET_TYPE |
Net type X, Y, XA, YA |
Only Net Items of this Net Type | false |
Examples
SELECT_ACTIVE_WHERE_AREA_IS_5
SELECT_ACTIVE_WHERE_NET_TYPE_IS_ELECTRICITY
- Returns whether the Net Setting ELECTRICITY_ACTIVE is considered active; I.e. the setting has a value of true.