IFClite TypeScript API
    Preparing search index...

    Interface SyntheticDataStoreOptions

    interface SyntheticDataStoreOptions {
        entities?: SyntheticEntity[];
        entityCount?: number;
        fileSize: number;
        schemaVersion: "IFC2X3" | "IFC4" | "IFC4X3" | "IFC5";
        source?: Uint8Array<ArrayBufferLike> | IfcSourceBytes;
    }
    Index
    entities?: SyntheticEntity[]

    Synthetic entity rows; omit (or pass []) for an entity-less store.

    entityCount?: number

    Display entity count. Defaults to the number of entities. The GLB path overrides this with its mesh count — the synthetic store carries no entity rows but still wants to report N renderable meshes to the UI.

    fileSize: number
    schemaVersion: "IFC2X3" | "IFC4" | "IFC4X3" | "IFC5"
    source?: Uint8Array<ArrayBufferLike> | IfcSourceBytes

    Source bytes for lazy entity extraction. Defaults to empty; with an empty source getEntity safely returns null (the entity table still answers type/name/globalId queries from its columns).