IModelExportHandler Class

Beta  

Handles the events generated by IModelExporter.

note Change information is available when IModelExportHandler methods are invoked via IModelExporter.exportChanges, but not available when invoked via IModelExporter.exportAll.

see iModel Transformation and Data Exchange, IModelExporter

Extended by

Methods

Name Description
onDeleteElement(_elementId: Id64String): void Protected Called when an element should be deleted.  
onDeleteModel(_modelId: Id64String): void Protected Called when a model should be deleted.  
onDeleteRelationship(_relInstanceId: Id64String): void Protected Called when a relationship should be deleted.  
onExportCodeSpec(_codeSpec: CodeSpec, _isUpdate: boolean | undefined): void Protected Called when a CodeSpec should be exported.  
onExportElement(_element: Element, _isUpdate: boolean | undefined): void Protected Called when an element should be exported.  
onExportElementMultiAspects(_aspects: ElementMultiAspect[]): void Protected Called when ElementMultiAspects should be exported.  
onExportElementUniqueAspect(_aspect: ElementUniqueAspect, _isUpdate: boolean | undefined): void Protected Called when an ElementUniqueAspect should be exported.  
onExportFont(_font: FontProps, _isUpdate: boolean | undefined): void Protected Called when a font should be exported.  
onExportModel(_model: Model, _isUpdate: boolean | undefined): void Protected Called when a model should be exported.  
onExportRelationship(_relationship: Relationship, _isUpdate: boolean | undefined): void Protected Called when a Relationship should be exported.  
shouldExportCodeSpec(_codeSpec: CodeSpec): boolean Protected If true is returned, then the CodeSpec will be exported.  
shouldExportElement(_element: Element): boolean Protected If true is returned, then the element will be exported.  
shouldExportElementAspect(_aspect: ElementAspect): boolean Protected If true is returned, then the ElementAspect will be exported.  
shouldExportRelationship(_relationship: Relationship): boolean Protected If true is returned, then the relationship will be exported.  

Defined in

Last Updated: 13 June, 2024