overrideSubCategory Method

Customize the way geometry belonging to a SubCategory is drawn by this display style.

overrideSubCategory(id: Id64String, ovr: SubCategoryOverride): void

note If this style is associated with a ViewState attached to a Viewport, use overrideSubCategory to ensure the changes are promptly visible on the screen.

see DisplayStyleSettings.dropSubCategoryOverride

Parameter Type Description
id Id64String The ID of the SubCategory whose appearance is to be overridden.
ovr SubCategoryOverride The overrides to apply to the DisplayStyleSettings.SubCategoryAppearance.

Defined in

Last Updated: 12 February, 2020