constructor Method

Construct a new TemplateModelCloner

TemplateModelCloner(sourceDb: IModelDb, targetDb: IModelDb = sourceDb): TemplateModelCloner

note The expectation is that the template definitions are within the same iModel where instances will be placed.

Parameter Type Description
sourceDb IModelDb The source IModelDb that contains the templates to clone
targetDb IModelDb Optionally specify the target IModelDb where the cloned template will be inserted. Typically should be left undefined.

Returns - TemplateModelCloner

Defined in

Last Updated: 12 June, 2024