OFTYPE
Parameters
| Order | Name | Type | Desc |
|---|---|---|---|
| 1 | name | const list | The name(s) to search for |
Returns
Places an asset list on the stack.
Description
This returns a list of all assets that match the type name(s) given.
The resulting list includes the all direct and indirect users of that type, so - for example - the query 'Valve' OFTYPE will include assets that are marked as 'Ball Valve', 'Gate Valve' etc if the type hierarchy is structed that way.
Example
'Level Switch' OFTYPE
Returns a list of every Level Switch in the database.