hideSelectedElements Method

Set the currently selected elements to be never drawn.

hideSelectedElements(vp: Viewport, replace: boolean = false, clearSelection: boolean = true): boolean

see Viewport.neverDrawn

Parameter Type Description
vp Viewport The viewport.
replace boolean true to replace currently hidden elements (if any) or false to add to the existing set.
clearSelection boolean true to clear current selection after setting appearance override, false to leave selected.

Returns - boolean

true if overrides were changed.

Defined in

Last Updated: 12 June, 2024