Way to hide a Subcategory #486
-
Hi I am trying to hide a subcategory in my imodel, but not getting success into the same. Below is the snippet code I am using for the same. Any help in this regard would be really appreciable. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
The docs for DisplayStyleState.overrideSubcategory have this note:
I happen to be working on a PR right now that would eliminate the need to call |
Beta Was this translation helpful? Give feedback.
The docs for DisplayStyleState.overrideSubcategory have this note:
I happen to be working on a PR right now that would eliminate the need to call
Viewport.overrideSubCategory
by automatically synchronizing the viewport's state when the display style's state changes, but for now you must use the Viewport API.