Select active (TQL): Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
{{Select TQL|suppresscategory=true|allowselflinks=true|<onlyinclude> | {{Select TQL|suppresscategory=true|allowselflinks=true|<onlyinclude> | ||
{{Select TQL|tabletype=row|attribute=ACTIVE|unit={{boolean}}|description=Returns whether an [[Item]] is active in this [[ | {{Select TQL|tabletype=row|attribute=ACTIVE|unit={{boolean}}|description=Returns whether an [[Item]] is active in this [[Session]]|fixed=1|polygon=false|}}</onlyinclude> | ||
}} | }} | ||
Revision as of 10:49, 2 June 2026
| Select | Unit | Description | Fixed clause amount | Polygon based |
|---|---|---|---|---|
| ACTIVE | boolean | Returns whether an Item is active in this Session | 1 | false |
| Param | Value | Description | Limits search polygon |
|---|---|---|---|
| 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 |
| NEIGHBORHOOD |
Integer (Item ID), ID, X, Y, XC, YC XA, YA, XK or YK |
Neighborhood with ID | true |
| NET_TYPE |
Net type X, Y, XA, YA |
Only Net Items of this Net Type | false |
| OVERLAY |
Integer (Item ID), ID, X, Y, XC, YC XA, YA, XK or YK |
Overlay with ID | false |
| SCENARIO |
Integer (Item ID), ID, X, Y, XC, YC XA, YA, XK or YK |
Scenario with ID | 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.