API Reference > imodeljs-backend > iModels > IModelExportHandler > onExportCodeSpec onExportCodeSpec MethodProtected Called when a CodeSpec should be exported. onExportCodeSpec(_codeSpec: CodeSpec, _isUpdate: undefined | boolean): void note This should be overridden to actually do the export. Parameter Type Description _codeSpec CodeSpec _isUpdate undefined | boolean Returns - void Defined in core/backend/src/IModelExporter.ts Line 44 Last Updated: 11 June, 2024