API Reference > imodeljs-frontend > Views > Viewport > changeSubCategoryDisplay changeSubCategoryDisplay Method Change the visibility of geometry belonging to the specified subcategory when displayed in this viewport. changeSubCategoryDisplay(subCategoryId: string, display: boolean): void Parameter Type Description subCategoryId string The Id of the subcategory display boolean Returns - void Defined in core/frontend/src/Viewport.ts Line 729 Last Updated: 12 June, 2024