API Reference > imodeljs-frontend > Views > PerModelCategoryVisibility > PerModelCategoryVisibility.Overrides > forEachOverride forEachOverride Method Iterates each override. forEachOverride(func: (modelId: Id64String, categoryId: Id64String, visible: boolean) => boolean): boolean Parameter Type Description func (modelId: Id64String, categoryId: Id64String, visible: boolean) => boolean Accepts the model and category Ids and a boolean indicating if the category is visible. Returns false to terminate iteration or true to continue. Returns - boolean true if iteration completed; false if the callback requested early termination. Defined in core/frontend/src/Viewport.ts Line 384 Last Updated: 13 June, 2024