exportModelContents Method

Export the model contents.

exportModelContents(modelId: string, elementClassFullName: string = Element.classFullName, skipRootSubject?: boolean): Promise<void>

note This method is called from IModelExporter.exportChanges and IModelExporter.exportAll, so it only needs to be called directly when exporting a subset of an iModel.

Parameter Type Description
modelId string The only required parameter
elementClassFullName string Can be optionally specified if the goal is to export a subset of the model contents
skipRootSubject boolean Decides whether or not to export the root Subject. It is normally left undefined except for internal implementation purposes.

Returns - Promise<void>

Defined in

Last Updated: 12 June, 2024