- Index
- »
- point
- »
- func:toPoints
def
func:toPoints
toPoints(recs)
Map a set of recs to to a grid of points
. The recs
parameter may be any value accepted by toRecList()
. Return empty grid if no mapping is found. The following mappings are supported:
- recs with
point
tag are mapped as themselves - recs with
site
are mapped to points with parentsiteRef
- recs with
space
are mapped to points with parentspaceRef
- recs with
equip
are mapped to points with parentequipRef
- recs with
device
are mapped to points with parentdeviceRef
Examples:
read(site).toPoints // return children points within site read(space).toPoints // return children points within space read(equip).toPoints // return children points within equip read(device).toPoints // return children points within device