PerModelCategoryVisibility.Overrides Interface
Describes a set of per-model category visibility overrides. Changes to these overrides invoke the onViewedCategoriesPerModelChanged event.
@see perModelCategoryVisibility.
Methods
Name | Description | |
---|---|---|
addOverrides(fs: FeatureSymbology.Overrides, ovrs: Id64.Uint32Map<Id64.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. | |
setOverrides(perModelCategoryVisibility: PerModelCategoryVisibility.Props[], iModel?: IModelConnection): Promise<void> | Changes multiple overrides, given an array of overrides * |
Properties
Name | Type | Description | |
---|---|---|---|
[iterator] | () => Iterator<PerModelCategoryVisibility.OverrideEntry, any, any> | An iterator over all of the visibility overrides. |
Defined in
Last Updated: 17 December, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.