iModels

Classes for working with iModels. See the learning article.

Classes

Name Description  
ChangedInstanceIds Class for discovering modified elements between 2 versions of an iModel.  
ChangedInstanceOps Class for holding change information.  
ElementCascadingDeleter Deletes an entire element tree, including sub-models, child elements and code scope references.  
IModelCloneContext The context for transforming a source Element to a target Element and remapping internal identifiers to the target iModel.  
IModelExporter Base class for exporting data from an iModel.  
IModelExportHandler Handles the events generated by IModelExporter.  
IModelImporter Base class for importing data into an iModel.  
IModelTransformer Base class used to transform a source iModel into a different target iModel.  
TemplateModelCloner IModelTransformer that clones the contents of a template model.  

Global Functions

Name Description  
deleteElementTreeCascade Deletes an element tree and code scope references starting with the specified top element.  

Interfaces

Name Description  
ChangedInstanceIdsInitOptions Arguments for ChangedInstanceIds.initialize  
ExportChangesOptions Arguments for IModelExporter.exportChanges  
ExportSchemaResult The (optional) result of IModelExportHandler.onExportSchema  
IModelImportOptions Options provided to the IModelImporter constructor.  
IModelTransformOptions Options provided to the IModelTransformer constructor.  
InitFromExternalSourceAspectsArgs Arguments you can pass to IModelTransformer.initExternalSourceAspects  
OptimizeGeometryOptions Options provided to IModelImporter.optimizeGeometry specifying post-processing optimizations to be applied to the iModel's geometry.  
ProcessChangesOptions Arguments for IModelTransformer.processChanges  

Last Updated: 12 February, 2024