Comment namespace

Signature:

export declare namespace Comment 

Functions

FunctionDescription
create(commentId, extData)Create a model comment with model id and extData. this function is only available after a 3D viewer loaded.
get(modelId)Get all model comments with model id.
remove(commentId)Remove a model comment.
update(commentId, extData)Update user-defined data in a model comment.
activate(commentId)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.

Type Aliases

Type AliasDescription
ModelCommentType information of a model comment