IFClite TypeScript API
    Preparing search index...

    Interface ParseModelOptions

    interface ParseModelOptions {
        deferPropertyAtomIndex?: boolean;
        disableWorkerScan?: boolean;
        label?: string;
        onDiagnostic?: (message: string) => void;
        onProgress?: (progress: { percent: number; phase: string }) => void;
        onScanReport?: (report: EntityScanReport) => void;
        onSpatialReady?: (partialStore: IfcDataStore) => void;
        preScannedEntityIndex?: PreScannedEntityIndex;
        wasmApi?: WasmScanApi;
        yieldIntervalMs?: number;
    }

    Hierarchy (View Summary)

    Index
    deferPropertyAtomIndex?: boolean

    Keep property-set containers in the primary index but defer indexing individual property/quantity atoms.

    disableWorkerScan?: boolean

    Skip worker-based entity scanning and stay in-process. Useful for huge buffers already loaded on the main thread.

    label?: string

    Used only in diagnostics; bytes are supplied directly and no I/O is performed.

    onDiagnostic?: (message: string) => void
    onProgress?: (progress: { percent: number; phase: string }) => void
    onScanReport?: (report: EntityScanReport) => void
    onSpatialReady?: (partialStore: IfcDataStore) => void

    Called when spatial hierarchy is ready, BEFORE property/association parsing completes. Use this to show the hierarchy panel early while the full parse finishes.

    preScannedEntityIndex?: PreScannedEntityIndex

    Pre-built entity index from another worker (typically the streaming geometry pre-pass). When supplied, parseColumnar skips both the worker-based and WASM scans and retains the numeric columns through entity categorization. Only records needed for metadata extraction materialize EntityRefs; every record remains addressable in the store.

    wasmApi?: WasmScanApi
    yieldIntervalMs?: number

    Yield budget for large incremental parses. Higher values finish faster with longer main-thread slices.