API Reference > imodeljs-frontend > Views > PerModelCategoryVisibility > PerModelCategoryVisibility.Overrides PerModelCategoryVisibility.Overrides Interface Beta Describes a set of per-model category visibility overrides. Changes to these overrides invoke the Viewport.onViewedCategoriesPerModelChanged event. see Viewport.perModelCategoryVisibility. Methods Name Description clearOverrides(modelIds?: Id64Arg): void Removes all overrides for the specified models, or for all models if modelIds is undefined. forEachOverride(func: (modelId: Id64String, categoryId: Id64String, visible: boolean) => boolean): boolean Iterates each override. getOverride(modelId: Id64String, categoryId: Id64String): PerModelCategoryVisibility.Override Returns the override state of the specified category within the specified model. setOverride(modelIds: Id64Arg, categoryIds: Id64Arg, override: PerModelCategoryVisibility.Override): void Changes the override state of one or more categories for one or more models. Defined in core/frontend/src/Viewport.ts Line 373 Last Updated: 13 June, 2024