Skip to content

clear_shape_model_3dClearShapeModel3dClearShapeModel3dclear_shape_model_3dT_clear_shape_model_3d🔗

Short description🔗

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

Signature🔗

clear_shape_model_3d( shape_model_3d ShapeModel3DID )void ClearShapeModel3d( const HTuple& ShapeModel3DID )static void HOperatorSet.ClearShapeModel3d( HTuple shapeModel3DID )def clear_shape_model_3d( shape_model_3did: MaybeSequence[HHandle] ) -> None

Herror T_clear_shape_model_3d( const Htuple ShapeModel3DID )

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

void HShapeModel3D::ClearShapeModel3d( ) const

static void HShapeModel3D.ClearShapeModel3d( HShapeModel3D[] shapeModel3DID )

void HShapeModel3D.ClearShapeModel3d( )

Description🔗

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

Execution information🔗

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🔗

ShapeModel3DIDshapeModel3DIDshape_model_3did (input_control, state is modified) shape_model_3d(-array) → (handle)HTuple (HHandle)HShapeModel3D, HTuple (IntPtr)MaybeSequence[HHandle]Htuple (handle)

Handle of the 3D shape model.

Result🔗

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

Combinations with other operators🔗

Combinations

Possible predecessors

create_shape_model_3dCreateShapeModel3d, read_shape_model_3dReadShapeModel3d, write_shape_model_3dWriteShapeModel3d

Module🔗

3D Metrology