API Reference > imodeljs-frontend > Views > DisplayStyleState > overrideSubCategory overrideSubCategory Method Customize the way geometry belonging to a SubCategory is drawn by this display style. overrideSubCategory(id: string, ovr: SubCategoryOverride): void see DisplayStyleState.dropSubCategoryOverride Parameter Type Description id string The ID of the SubCategory whose appearance is to be overridden. ovr SubCategoryOverride The overrides to apply to the SubCategoryAppearance. Returns - void Defined in core/frontend/src/DisplayStyleState.ts Line 660 Last Updated: 12 June, 2024