IFClite TypeScript API
    Preparing search index...

    Interface TypeAssignmentInput

    interface TypeAssignmentInput {
        globalId?: string;
        name?: string;
        type?: string;
    }
    Index
    globalId?: string

    The type entity's GlobalId.

    Not hashed, and not a stable key. IfcTypeObject is an IfcRoot subtype, so a from-scratch re-export regenerates the type's GlobalId exactly as it regenerates every product's. Folding it into the fingerprint made the content hash of every typed element — most of a real model — change on a re-export where nothing substantive did, which defeats matchUnpairedByContent, the pass that exists for precisely that scenario. The assigned type is identified by name + type instead; see buildDataFingerprint.

    The field is kept because callers already populate it and it is useful for display and for resolving the type entity, but it does not participate in any hash this module produces.

    name?: string

    Name of the assigned type (e.g. WT-200). Part of its hashed identity.

    type?: string

    IFC type name of the assigned type (e.g. IfcWallType). Part of its hashed identity.