IFClite TypeScript API
    Preparing search index...

    Interface ModelSlot

    The two things a path needs to know about a slot.

    interface ModelSlot {
        fileName?: string;
        legacy: boolean;
        name: string;
        order: number;
        pathPrefix: string;
        schemaVersion?: string;
        slotId: string;
        sourceFingerprint?: string;
        spatialContext?: Record<string, unknown>;
        stepSourceBlobHash?: string;
        stepSourceFormat?: "step" | "ifczip";
    }

    Hierarchy (View Summary)

    Index
    fileName?: string
    legacy: boolean

    True for the implicit single slot of a room seeded before models existed.

    name: string

    Display name (the viewer's model name, usually the filename).

    order: number

    Seed order; also the slot's index.

    pathPrefix: string

    /<slotId> for a real slot; '' for the implicit legacy slot.

    schemaVersion?: string

    Raw schema string as the source reported it (IFC4, IFC2X3, IFC5, …).

    slotId: string
    sourceFingerprint?: string

    Durable source identity when the owner has one (never used to key a slot).

    spatialContext?: Record<string, unknown>

    Optional immutable spatial metadata; interpreted by the model consumer.

    stepSourceBlobHash?: string

    Content-addressed blob containing a complete portable STEP source for this slot. Recipients may parse it to retain representation-level data (for example IfcAnnotation symbolic geometry) that the root-only IFCX collaboration snapshot cannot express.

    stepSourceFormat?: "step" | "ifczip"

    Encoding of stepSourceBlobHash; absent records are plain STEP.