overrideSubCategory Method

Override the symbology of geometry belonging to a specific subcategory when rendered within this viewport.

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

see Viewport.dropSubCategoryOverride

Parameter Type Description
id Id64String The Id of the subcategory.
ovr SubCategoryOverride The symbology overrides to apply to all geometry belonging to the specified subcategory.

Returns - void

Defined in

Last Updated: 13 June, 2024