API Reference > imodeljs-frontend > Views > PerModelCategoryVisibility PerModelCategoryVisibility Namespace Beta Allows the visibility of categories within a Viewport to be controlled on a per-ModelState basis. If a category's visibility is overridden for a given model, then elements belonging to that category within that model will be displayed or hidden regardless of the category's inclusion in the Viewport's CategorySelectorState. The override affects geometry on all subcategories belonging to the overridden category. That is, if the category is overridden to be visible, then geometry on all subcategories of the category will be visible, regardless of any SubCategoryOverrides applied by the view's DisplayStyleState. Enumeration Name Description PerModelCategoryVisibility.Override Describes whether and how a category's visibility is overridden. Interface Name Description PerModelCategoryVisibility.Overrides Describes a set of per-model category visibility overrides. Defined in core/frontend/src/Viewport.ts Line 356 Last Updated: 13 June, 2024