API Reference > imodeljs-backend > iModels > IModelExporter > exportCodeSpecByName exportCodeSpecByName Method Export a single CodeSpec from the source iModel. exportCodeSpecByName(codeSpecName: string): 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 codeSpecName string Returns - void Defined in core/backend/src/IModelExporter.ts Line 248 Last Updated: 13 June, 2024