Viewer3DCompare.focusElementsInViewport() method

Focus to certain elements.

Signature:

focusElementsInViewport(viewportIdx: number, elementNames: string[], changeCamera: boolean, showLine: boolean): void;

Parameters

ParameterDescription
viewportIdxThe index of the viewport.
elementNamesAn array of element names.
changeCameraIf set to true, the camera will change to a close-up view.
showLineIf render the focused elements profile lines.

Returns:

void