Select length (TQL): Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
{{Select TQL|<onlyinclude> | {{Select TQL|<onlyinclude> | ||
{{Select TQL|tabletype=row|attribute=LENGTH|unit=m|description=Returns the length of [[Net Line]]s|fixed=No|polygon=false|}}</onlyinclude> | {{Select TQL|tabletype=row|attribute=LENGTH|unit=m|description=Returns the length of [[Net Line]]s.|fixed=No|polygon=false|}}</onlyinclude> | ||
}} | }} | ||
==Allowed clause parameters== | ==Allowed clause parameters== | ||
| Line 11: | Line 11: | ||
{{article end | {{article end | ||
|notes | |notes | ||
* | * Conflicting TQL Parameters for a [[Net Line]] cause that line to be ignored. For example, specifying both 'Heat' Net function and 'Electricity' Net type results in a length of 0. | ||
|api=* [[Api session query]] | |api=* [[Api session query]] | ||
}} | }} | ||
{{TQL nav}} | {{TQL nav}} | ||
Latest revision as of 08:13, 15 July 2026
| Select | Unit | Description | Fixed clause amount | Polygon based |
|---|---|---|---|---|
| LENGTH | m | Returns the length of Net Lines. | No | false |
Allowed clause parameters
| Param | Value | Description | Limits search polygon |
|---|---|---|---|
| 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 |
| NET_TYPE |
Net type, X, Y, XA, YA |
Only Net Items of this Net Type. | false |
API Endpoints