clear_surface_modelT_clear_surface_modelClearSurfaceModelClearSurfaceModelclear_surface_model (Operator)

Name

clear_surface_modelT_clear_surface_modelClearSurfaceModelClearSurfaceModelclear_surface_model — Free the memory of a surface model.

Signature

clear_surface_model( : : SurfaceModelID : )

Herror T_clear_surface_model(const Htuple SurfaceModelID)

void ClearSurfaceModel(const HTuple& SurfaceModelID)

static void HSurfaceModel::ClearSurfaceModel(const HSurfaceModelArray& SurfaceModelID)

void HSurfaceModel::ClearSurfaceModel() const

static void HOperatorSet.ClearSurfaceModel(HTuple surfaceModelID)

static void HSurfaceModel.ClearSurfaceModel(HSurfaceModel[] surfaceModelID)

void HSurfaceModel.ClearSurfaceModel()

def clear_surface_model(surface_model_id: MaybeSequence[HHandle]) -> None

Description

The operator clear_surface_modelclear_surface_modelClearSurfaceModelClearSurfaceModelClearSurfaceModelclear_surface_model frees the memory of a surface model that was created by read_surface_modelread_surface_modelReadSurfaceModelReadSurfaceModelReadSurfaceModelread_surface_model or create_surface_modelcreate_surface_modelCreateSurfaceModelCreateSurfaceModelCreateSurfaceModelcreate_surface_model. After calling clear_surface_modelclear_surface_modelClearSurfaceModelClearSurfaceModelClearSurfaceModelclear_surface_model, the model can no longer be used. The handle SurfaceModelIDSurfaceModelIDSurfaceModelIDSurfaceModelIDsurfaceModelIDsurface_model_id becomes invalid.

Execution Information

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

SurfaceModelIDSurfaceModelIDSurfaceModelIDSurfaceModelIDsurfaceModelIDsurface_model_id (input_control, state is modified)  surface_model(-array) HSurfaceModel, HTupleMaybeSequence[HHandle]HTupleHtuple (handle) (IntPtr) (HHandle) (handle)

Handle of the surface model.

Result

If the handle of the model is valid, the operator clear_surface_modelclear_surface_modelClearSurfaceModelClearSurfaceModelClearSurfaceModelclear_surface_model returns the value TRUE. If necessary an exception is raised.

Possible Predecessors

read_surface_modelread_surface_modelReadSurfaceModelReadSurfaceModelReadSurfaceModelread_surface_model, create_surface_modelcreate_surface_modelCreateSurfaceModelCreateSurfaceModelCreateSurfaceModelcreate_surface_model

See also

read_surface_modelread_surface_modelReadSurfaceModelReadSurfaceModelReadSurfaceModelread_surface_model, create_surface_modelcreate_surface_modelCreateSurfaceModelCreateSurfaceModelCreateSurfaceModelcreate_surface_model

Module

3D Metrology