IModelTransformOptions Interface

Options provided to the IModelTransformer constructor.

@note if adding an option, you must explicitly add its serialization to saveStateToFile!

Properties

Name Type Description
cloneUsingBinaryGeometry boolean | undefined Flag that indicates whether or not the transformation process should clone using binary geometry.  
danglingPredecessorsBehavior "reject" | "ignore" The behavior to use when an element reference (id) is found stored as a reference on an element in the source, Deprecated  
danglingReferencesBehavior "reject" | "ignore" The behavior to use when an element reference (id) is found stored as a reference on an element in the source,  
includeSourceProvenance boolean | undefined Set to true to clone existing source provenance into the target.  
isReverseSynchronization boolean | undefined Flag that indicates that the current source and target iModels are now synchronizing in the reverse direction from a prior synchronization.  
loadSourceGeometry boolean | undefined Flag that indicates whether or not the transformation process needs to consider the source geometry before cloning/transforming.  
noProvenance boolean | undefined Set to true if IModelTransformer should not record its provenance.  
optimizeGeometry OptimizeGeometryOptions | undefined If defined, options to be supplied to optimizeGeometry by processChanges and processAll  
preserveElementIdsForFiltering boolean | undefined Flag that indicates that ids should be preserved while copying elements to the target  
targetScopeElementId string | undefined The Id of the Element in the target iModel that represents the source repository as a whole and scopes its ExternalSourceAspect instances.  
wasSourceIModelCopiedToTarget boolean | undefined Flag that indicates that the target iModel was created by copying the source iModel.  

Defined in

Last Updated: 10 June, 2024