def

func:toSpaces

toSpaces(recs)

Map a set of recs to to a grid of spaces. 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 space tag are mapped as themselves
  • recs with spaceRef tag are mapped to their parent space
  • recs with site are mapped to spaces with parent siteRef

Examples:

read(site).toSpaces      // return children spaces within site
read(equip).toSpaces     // return equip's parent space
read(point).toSpaces     // return point's parent space
read(space).toSpaces     // return space itself

meta

supertypes

feature

Feature namespace of definitions formatted as feature:name

    func

Axon function