IFClite TypeScript API
    Preparing search index...

    Function extractAllMaterialsOnDemand

    • Extract EVERY material association for an entity ON-DEMAND, resolved to full material structures (layers, profiles, constituents, lists). Most entities carry one; exporters that attach e.g. a layer set and a plain fallback IfcMaterial yield several. Order matches resolveAllMaterialDefIds. Consumers that need a single value use extractMaterialsOnDemand (=== element 0 here). An optional native view applies current assignments, aliases and material edits.

      Parameters

      • store: IfcDataStore
      • entityId: number
      • Optionalview: MaterialReadView | null

      Returns MaterialInfo[]