overrideSubCategory Method

Specify overrides for all geometry belonging to the specified SubCategory.

overrideSubCategory(id: Id64String, app: FeatureSymbology.Appearance, replaceExisting: boolean = true): void

note These overrides have lower priority than element and model overrides.

note If FeatureSymbology.Overrides.defaultOverrides are defined, they will not apply to any geometry within this subcategory, even if the supplied Appearance overrides nothing.

Parameter Type Description
id Id64String The Id of the subcategory.
app FeatureSymbology.Appearance The symbology overrides.
replaceExisting boolean Specifies whether to replace a pre-existing override for the same subcategory.

Defined in

Last Updated: 08 January, 2020