- Index
- »
- point
- »
- func:toEquips
def
func:toEquips
toEquips(recs)
Map a set of recs to to a grid of equips. 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
equiptag are mapped as themselves - recs with
equipReftag are mapped to their parent equip - recs with
siteare mapped to equip with parentsiteRef - recs with
spaceare mapped to equip with parentspaceRef
Examples:
read(site).toEquips // return children equip within site read(space).toEquips // return children equip within space read(equip).toEquips // return equip itself read(point).toEquips // return point's parent equip