IFClite TypeScript API
    Preparing search index...

    Interface IfcStoreBase

    interface IfcStoreBase {
        entities: EntityTable;
        entityCount: number;
        entityIndex: {
            byId: ReadonlyMapLike<number, unknown>;
            byType: ReadonlyMapLike<string, number[]>;
        };
        fileSize: number;
        properties: PropertyTable;
        quantities: QuantityTable;
        relationships: RelationshipGraph;
        schemaVersion: "IFC2X3"
        | "IFC4"
        | "IFC4X3"
        | "IFC5";
        sourceHeader?: IfcSourceHeader;
        spatialHierarchy?: SpatialHierarchy;
        spatialIndex?: SpatialIndex;
        getEntitiesByType(typeName: string): IfcEntity[];
        getEntity(expressId: number): IfcEntity | null;
        getProperties(expressId: number): PropertySet[];
        getQuantities(expressId: number): QuantitySet[];
    }

    Hierarchy (View Summary)

    Index
    entities: EntityTable
    entityCount: number
    entityIndex: {
        byId: ReadonlyMapLike<number, unknown>;
        byType: ReadonlyMapLike<string, number[]>;
    }
    fileSize: number
    properties: PropertyTable
    quantities: QuantityTable
    relationships: RelationshipGraph
    schemaVersion: "IFC2X3" | "IFC4" | "IFC4X3" | "IFC5"
    sourceHeader?: IfcSourceHeader

    Verbatim HEADER fields from the source file, when this store was built by parsing a STEP/IFC file. Absent for created-from-scratch models. Lets a round-trip export preserve the original FILE_DESCRIPTION items and the exact FILE_SCHEMA token (e.g. IFC4X3_ADD2).

    spatialHierarchy?: SpatialHierarchy
    spatialIndex?: SpatialIndex
    • Parameters

      • typeName: string

      Returns IfcEntity[]

    • Parameters

      • expressId: number

      Returns IfcEntity | null