Skip to main content

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.

Hierarchy

Index

Properties

readonlyifcChangePredicate

ifcChangePredicate: (o: BimChangeIfc) => boolean

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


Type declaration

optionalreadonlyifcObjectHasGeometryPredicate

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)


Type declaration

optionalreadonlyisIfcObjectVisiblePredicate

isIfcObjectVisiblePredicate?: (o: BimIfcObject) => boolean

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


Type declaration

loadGeometry

loadGeometry: boolean

If true then geometry is loaded automatically.

loadPropertySets

loadPropertySets: boolean

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

optionalremoveLeafIfcObjectsWithNoGeometry

removeLeafIfcObjectsWithNoGeometry?: boolean

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

throwOnNoIfcChanges

throwOnNoIfcChanges: boolean

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

Methods

toExplicitLoadOptions