The parameters used for loading the .BIM data.
Optional
dataModel?: DataModelThe DataModel into which the .BIM data will be loaded.
The JSON .BIM file data to load.
Optional
sceneModel?: SceneModelThe SceneModel into which the .BIM data will be loaded.
Options for customizing the loading process.
Optional
error?: (errMsg: string) => voidA callback function that logs any non-fatal errors encountered during the loading process.
Optional
translate?: FloatArrayParamResolves when the .BIM data has been successfully loaded into the SceneModel and/or DataModel.
Loads a .BIM file into a SceneModel and/or a DataModel.
This function expects the following conditions:
false
.This method provides flexibility for loading .BIM data into both a SceneModel and DataModel simultaneously, depending on the provided parameters.
For further usage, refer to @xeokit/sdk/dotbim.