Operator Reference

clear_shape_model_3dT_clear_shape_model_3dClearShapeModel3dClearShapeModel3dclear_shape_model_3d (Operator)

clear_shape_model_3dT_clear_shape_model_3dClearShapeModel3dClearShapeModel3dclear_shape_model_3d — Free the memory of a 3D shape model.

Signature

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

Description

The operator clear_shape_model_3dclear_shape_model_3dClearShapeModel3dClearShapeModel3dclear_shape_model_3d frees the memory of a 3D shape model that was created by create_shape_model_3dcreate_shape_model_3dCreateShapeModel3dCreateShapeModel3dcreate_shape_model_3d. After calling clear_shape_model_3dclear_shape_model_3dClearShapeModel3dClearShapeModel3dclear_shape_model_3d, the model can no longer be used. The handle ShapeModel3DIDShapeModel3DIDShapeModel3DIDshapeModel3DIDshape_model_3did becomes invalid.

Execution Information

  • Multithreading type: reentrant (runs in parallel with non-exclusive operators).
  • Multithreading scope: global (may be called from any thread).
  • Processed without parallelization.

This operator modifies the state of the following input parameter:

During execution of this operator, access to the value of this parameter must be synchronized if it is used across multiple threads.

Parameters

ShapeModel3DIDShapeModel3DIDShapeModel3DIDshapeModel3DIDshape_model_3did (input_control, state is modified)  shape_model_3d(-array) HShapeModel3D, HTupleMaybeSequence[HHandle]HTupleHtuple (handle) (IntPtr) (HHandle) (handle)

Handle of the 3D shape model.

Result

If the handle of the model is valid, the operator clear_shape_model_3dclear_shape_model_3dClearShapeModel3dClearShapeModel3dclear_shape_model_3d returns the value 2 ( H_MSG_TRUE) . If necessary an exception is raised.

Possible Predecessors

create_shape_model_3dcreate_shape_model_3dCreateShapeModel3dCreateShapeModel3dcreate_shape_model_3d, read_shape_model_3dread_shape_model_3dReadShapeModel3dReadShapeModel3dread_shape_model_3d, write_shape_model_3dwrite_shape_model_3dWriteShapeModel3dWriteShapeModel3dwrite_shape_model_3d

Module

3D Metrology