API Reference > imodeljs-frontend > Views > Viewport > overrideSubCategory overrideSubCategory Method Override the symbology of geometry belonging to a specific subcategory when rendered within this viewport. overrideSubCategory(id: string, ovr: SubCategoryOverride): void see Viewport.dropSubCategoryOverride Parameter Type Description id string The Id of the subcategory. ovr SubCategoryOverride The symbology overrides to apply to all geometry belonging to the specified subcategory. Returns - void Defined in core/frontend/src/Viewport.ts Line 615 Last Updated: 11 June, 2024