@openbim/ifc
    Preparing search index...

    Interface PurgeOptions

    Options of IfcModel.purge.

    interface PurgeOptions {
        classes?: string[];
        dryRun?: boolean;
        includeOwnerHistory?: boolean;
        includeRoots?: boolean;
    }
    Index
    classes?: string[]

    Entity types to purge, subtypes included; empty or absent for every resource entity no IfcRoot reaches.

    dryRun?: boolean

    Report only; the model is unchanged.

    includeOwnerHistory?: boolean

    Also purge an unreferenced owner history with its actors.

    includeRoots?: boolean

    Also purge unreferenced IfcRoots of classes.