IFClite TypeScript API
    Preparing search index...

    Class PropertyTable

    @ifc-lite/query - Query system

    Index
    • Add property set

      Parameters

      Returns void

    • Associate property set with entity

      Parameters

      • entityId: number
      • propertySetId: number

      Returns void

    • Find entities with property matching value

      Parameters

      • propertySetName: string
      • propertyName: string
      • value: any

      Returns number[]

    • Get all properties for entity, one entry per distinct pset NAME.

      An entity can carry two same-named property sets (two IfcRelDefinesByProperties pointing at distinct IfcPropertySets — the same shape getProperty, above, scans through). Keying the result Map by name alone would let the later same-named set overwrite the earlier one, silently dropping every property that lived only in the set that got overwritten. Merge same-named sets' properties instead — earlier-set values win on a key collision, matching getProperty's own first-match-wins order above.

      Parameters

      • entityId: number

      Returns Map<string, PropertySet>

    • Get property value for entity. An entity can carry two same-named property sets (two IfcRelDefinesByProperties pointing at distinct IfcPropertySets, same as findEntities below handles) — keep scanning subsequent same-named sets when an earlier one doesn't have the property, rather than returning null on the first name match.

      Parameters

      • entityId: number
      • propertySetName: string
      • propertyName: string

      Returns PropertyValue | null