Skip to main content

BimApiLoadOptionsWithExplicitIfcChanges

Load options to use for loading a specific set of files. Files do not have to be located in the same container

Hierarchy

Index

Properties

readonlyifcChanges

ifcChanges: { change: BimChangeIfc; load: boolean; transform?: Matrix }[]

If specified, then only changes in the array that are marked for loading will be loaded. If a transform is given it will be applied to all meshes in the IFC change. The transformation will be applied in babylon space.

optionalreadonlyifcObjectHasGeometryPredicate

ifcObjectHasGeometryPredicate?: (o: BimIfcObject) => boolean

Type declaration

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


      Parameters

      Returns boolean

optionalreadonlyisIfcObjectVisiblePredicate

isIfcObjectVisiblePredicate?: (o: BimIfcObject) => boolean

Type declaration

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


      Parameters

      Returns boolean

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.