PerModelCategoryVisibility.Overrides Interface

Describes a set of per-model category visibility overrides. Changes to these overrides invoke the Viewport.onViewedCategoriesPerModelChanged event.

see Viewport.perModelCategoryVisibility.

Methods

Name Description
[iterator](): Iterator<PerModelCategoryVisibility.OverrideEntry, any, undefined> An iterator over all of the visibility overrides.  
addOverrides(fs: FeatureSymbology.Overrides, ovrs: Uint32Map<Uint32Set>): void Populate the symbology overrides based on the per-model category visibility.  
clearOverrides(modelIds?: Id64Arg): void Removes all overrides for the specified models, or for all models if modelIds is undefined.  
getOverride(modelId: string, categoryId: string): 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

Last Updated: 29 November, 2022