IFClite TypeScript API
    Preparing search index...

    Function extractAllEntityAttributes

    • Extract ALL named entity attributes on-demand from source buffer. Uses the IFC schema to map attribute indices to names. Returns the attributes that hold a value: strings and enumerations (.ENUM. markers stripped), numbers, booleans and typed values (IFCREAL(0.) as its number). A reference comes back as the referenced entity's STEP id, a number. Unset, derived and logical-unknown slots are left out. A list is not returned as a list: one of exactly two items reads like a typed value, one of any other length is left out.

      By default the attributes a display shows elsewhere (SKIP_DISPLAY_ATTRS: GlobalId, OwnerHistory, ObjectPlacement, Representation, HasPropertySets, RepresentationMaps) are left out. includeDisplaySkipped: true keeps them, for a checker that must see every attribute an entity sets, such as the IDS attribute facet (#10543). Their values are read like any other slot.

      Parameters

      • store: IfcDataStore
      • entityId: number
      • Optionaloptions: { includeDisplaySkipped?: boolean } | null

      Returns { name: string; value: string | number | boolean }[]