PerModelCategoryVisibility Namespace

Per-model category visibility permits the visibility of categories within a Viewport displaying a SpatialViewState to be overridden in the context of individual GeometricModelStates. 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.OverrideEntry Describes one visibility override in a PerModelCategoryVisibility.Overrides.
PerModelCategoryVisibility.Overrides Describes a set of per-model category visibility overrides.
PerModelCategoryVisibility.Props Describes a set of PerModelCategoryVisibility.Overrides.

Function

Name Description
PerModelCategoryVisibility.createOverrides  

Defined in

Last Updated: 30 November, 2023