overrideElement Method

Deprecated  in 3.x. Use override.

Specify overrides for all geometry originating from the specified element.

overrideElement(id: string, app: FeatureAppearance, replaceExisting: booleantrue): void

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

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

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

Returns - void

Defined in

Last Updated: 28 October, 2024