Comment.activate() function

Make a model comment in current viewer to be the current comment. It will change the current view angle to the one when comment was created.

this function is only available after a 3D viewer loaded.

Signature:

export declare function activate(viewer: Viewer3D, commentId: number): void;

Parameters

ParameterTypeDescription
viewerViewer3D
commentIdnumberThe comment id

Returns:

void