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
- core/common/src/FeatureSymbology.ts Line 866
Last Updated: 24 June, 2025
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.