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.  
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

Last Updated: 20 September, 2019