overrideElement Method

Specify overrides for all geometry originating from the specified element.

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

note These overrides take precedence over subcategory overrides, but not over model overrides.

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

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

Defined in

Last Updated: 08 January, 2020