@twinfinity/core
    Preparing search index...

    Interface BimApiLoadOptionsWithIfcChangePredicate

    Load options to use when IFC files in a container needs to match a specified predicate in order to be loaded. Useful when you for example only want to load files with of type disicpline A.

    interface BimApiLoadOptionsWithIfcChangePredicate {
        ifcChangePredicate: (o: BimChangeIfc) => boolean;
        ifcObjectHasGeometryPredicate?: (o: BimIfcObject) => boolean;
        isIfcObjectVisiblePredicate?: (o: BimIfcObject) => boolean;
        loadGeometry: boolean;
        loadPropertySets: boolean;
        removeLeafIfcObjectsWithNoGeometry?: boolean;
        throwOnNoIfcChanges: boolean;
        toExplicitLoadOptions(
            ifcChanges: BimChangeIfc[],
        ): BimApiLoadOptionsWithExplicitIfcChanges;
    }

    Hierarchy (View Summary)

    Index

    Properties

    ifcChangePredicate: (o: BimChangeIfc) => boolean

    If specified only BimChangeIfc instances matching this criteria will be loaded.

    ifcObjectHasGeometryPredicate?: (o: BimIfcObject) => boolean

    All BimIfcObject matching this criteria will be marked with BimIfcObject.hasGeometry = false so that they can not be visualized (no geometry data will be loaded)

    isIfcObjectVisiblePredicate?: (o: BimIfcObject) => boolean

    Determines if object is initially visible or not. Only valid if ifcObjectHasGeometryPredicate is not defined or returns true for the object.

    loadGeometry: boolean

    If true then geometry is loaded automatically.

    loadPropertySets: boolean

    If true then property sets are loaded automatically. No call to () is needed.

    removeLeafIfcObjectsWithNoGeometry?: boolean

    Determines whether leaf nodes in the IFC hierarchy, with no geometry, should be removed during loading. Defaults to false.

    throwOnNoIfcChanges: boolean

    Throw exception when ifcChangePredicate is applied to a list of BimChangeIfc and the result is a empty collection.

    Methods