IFClite TypeScript API
    Preparing search index...

    Function resolveAllMaterialDefIds

    • Resolve ALL material definition ids for an entity: every occurrence-level IfcRelAssociatesMaterial (elements may legally carry more than one), or — when the occurrence has none — the associations of its type (IfcRelDefinesByType), matching extractMaterialsOnDemand's occurrence-overrides-type precedence. Ordered by rel express id, so index 0 is the entity's deterministic "primary" material definition.

      Parameters

      Returns number[]