clear_shape_model_3dT_clear_shape_model_3dClearShapeModel3dClearShapeModel3dclear_shape_model_3d (算子)

名称

clear_shape_model_3dT_clear_shape_model_3dClearShapeModel3dClearShapeModel3dclear_shape_model_3d — 释放三维形状模型的内存。

签名

clear_shape_model_3d( : : ShapeModel3DID : )

Herror T_clear_shape_model_3d(const Htuple ShapeModel3DID)

void ClearShapeModel3d(const HTuple& ShapeModel3DID)

static void HShapeModel3D::ClearShapeModel3d(const HShapeModel3DArray& ShapeModel3DID)

void HShapeModel3D::ClearShapeModel3d() const

static void HOperatorSet.ClearShapeModel3d(HTuple shapeModel3DID)

static void HShapeModel3D.ClearShapeModel3d(HShapeModel3D[] shapeModel3DID)

void HShapeModel3D.ClearShapeModel3d()

def clear_shape_model_3d(shape_model_3did: MaybeSequence[HHandle]) -> None

描述

算子 clear_shape_model_3dclear_shape_model_3dClearShapeModel3dClearShapeModel3dClearShapeModel3dclear_shape_model_3d frees the memory of a 3D shape model that was created by create_shape_model_3dcreate_shape_model_3dCreateShapeModel3dCreateShapeModel3dCreateShapeModel3dcreate_shape_model_3d。After calling clear_shape_model_3dclear_shape_model_3dClearShapeModel3dClearShapeModel3dClearShapeModel3dclear_shape_model_3d, the model can no longer be used. The handle ShapeModel3DIDShapeModel3DIDShapeModel3DIDShapeModel3DIDshapeModel3DIDshape_model_3did becomes invalid.

执行信息

此算子修改后续输入参数的状态:

在执行此算子时,若该参数值需在多个线程间使用,则必须对其访问进行同步。

参数

ShapeModel3DIDShapeModel3DIDShapeModel3DIDShapeModel3DIDshapeModel3DIDshape_model_3did (输入控制,状态被修改)  shape_model_3d(-array) HShapeModel3D, HTupleMaybeSequence[HHandle]HTupleHtuple (handle) (IntPtr) (HHandle) (handle)

Handle of the 3D shape model.

结果

如果模型的句柄有效,算子 clear_shape_model_3dclear_shape_model_3dClearShapeModel3dClearShapeModel3dClearShapeModel3dclear_shape_model_3d 返回值 2 ( H_MSG_TRUE )。如有必要,则抛出异常。

可能的前趋

create_shape_model_3dcreate_shape_model_3dCreateShapeModel3dCreateShapeModel3dCreateShapeModel3dcreate_shape_model_3d, read_shape_model_3dread_shape_model_3dReadShapeModel3dReadShapeModel3dReadShapeModel3dread_shape_model_3d, write_shape_model_3dwrite_shape_model_3dWriteShapeModel3dWriteShapeModel3dWriteShapeModel3dwrite_shape_model_3d

模块

三维计量