clearOverriddenElements Method

Clear color/transparency overrides from elements. Removes all overrides when keyOrIds isn't supplied.

clearOverriddenElements(vp: Viewport, keyOrIds?: number | Id64Arg): boolean

Parameter Type Description
vp Viewport  
keyOrIds number | Id64Arg Specify a key value from EmphasizeElements.getOverriddenElements or EmphasizeElements.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: 11 June, 2024