- 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
pointtag are mapped as themselves - recs with
siteare mapped to points with parentsiteRef - recs with
spaceare mapped to points with parentspaceRef - recs with
equipare mapped to points with parentequipRef - recs with
deviceare 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