clearOverriddenElements Method
Clear color/transparency overrides from elements. Removes all overrides when keyOrIds isn't supplied.
clearOverriddenElements(vp: Viewport, keyOrIds?: number | Id64Arg): boolean
@returns false if nothing to clear.
Parameter | Type | Description |
---|---|---|
vp | Viewport | |
keyOrIds | number | Id64Arg | Specify a key value from getOverriddenElements or createOverrideKey to remove a single color/transparency override for the corresponding elements or specify the IDs of elements to remove any color/transparency override from. |
Returns - boolean
false if nothing to clear.
Defined in
Last Updated: 17 December, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.