IFClite TypeScript API
    Preparing search index...

    Class ColumnarParser

    Index
    • Extract properties for a single entity ON-DEMAND Parses only what's needed from the source buffer - instant results.

      Parameters

      Returns { globalId?: string; name: string; properties: ExtractedProperty[] }[]

    • Extract quantities for a single entity ON-DEMAND Parses only what's needed from the source buffer - instant results.

      Parameters

      • store: IfcDataStore
      • entityId: number
      • Optionalview: MetadataReadView

      Returns { globalId?: string; name: string; quantities: CollectedQuantity[] }[]

    • Parse IFC file into columnar data store

      Uses fast semicolon-based scanning with on-demand property extraction. Properties are parsed lazily when accessed, not upfront. This provides instant UI responsiveness even for very large files.

      Parameters

      • buffer: ArrayBuffer | SharedArrayBuffer
      • entityRefs: EntityRef[]
      • Optionaloptions: {
            deferPropertyAtomIndex?: boolean;
            onDiagnostic?: (message: string) => void;
            onProgress?: (progress: { percent: number; phase: string }) => void;
            onSpatialReady?: (partialStore: IfcDataStore) => void;
            yieldIntervalMs?: number;
        }

      Returns Promise<IfcDataStore>