constructor Method

Construct a new TemplateModelCloner

TemplateModelCloner(editTxn: EditTxn): TemplateModelCloner

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

Parameter Type Description
editTxn EditTxn The EditTxn to use for all read and write operations. The source and target db are both derived from editTxn.iModel. Must be started before constructing.

Returns - TemplateModelCloner

Defined in

Last Updated: 03 August, 2026