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: 14 November, 2024