API Reference > imodeljs-backend > iModels > IModelExporter > exportCodeSpecById exportCodeSpecById Method Export a single CodeSpec from the source iModel. exportCodeSpecById(codeSpecId: Id64String): void note This method is called from IModelExporter.exportChanges and IModelExporter.exportAll, so it only needs to be called directly when exporting a subset of an iModel. Parameter Type Description codeSpecId Id64String Returns - void Defined in core/backend/src/IModelExporter.ts Line 275 Last Updated: 13 June, 2024