API Reference > imodeljs-backend > iModels > IModelExporter > excludeElementCategory excludeElementCategory Method Deprecated Use IModelExporter.excludeElementsInCategory instead. Add a rule to exclude all Elements in a specified Category. excludeElementCategory(categoryId: string): void Parameter Type Description categoryId string Returns - void Defined in core/backend/src/IModelExporter.ts Line 218 Last Updated: 11 June, 2024