processModelContents Method
Cause the model contents to be exported from the source iModel and imported into the target iModel.
processModelContents(sourceModelId: Id64String, targetModelId: Id64String, elementClassFullName: string = Element.classFullName): void
note This method is called from IModelTransformer.processChanges and IModelTransformer.processAll, so it only needs to be called directly when processing a subset of an iModel.
Parameter | Type | Description |
---|---|---|
sourceModelId | Id64String | Import the contents of this model from the source IModelDb. |
targetModelId | Id64String | Import into this model in the target IModelDb. The target model must exist prior to this call. |
elementClassFullName | string | Optional classFullName of an element subclass to limit import query against the source model. |
Returns - void
Defined in
Last Updated: 13 June, 2024