Create a model comment with model id and extData.
this function is only available after a 3D viewer loaded.
Signature:
export declare function create(viewer: Viewer3D, modelId: string, extData?: any): Promise<ModelComment>;
Parameter | Type | Description |
---|---|---|
modelId | string | The model id |
extData | any | Extra data object attach to this comment |
Returns:
Promise<ModelComment>
a promise contains a model comment object