Operator Reference
clear_surface_model (Operator)
clear_surface_model
— Free the memory of a surface model.
Signature
clear_surface_model( : : SurfaceModelID : )
Description
The operator clear_surface_model
frees the memory of a
surface model that was created by read_surface_model
or
create_surface_model
.
After calling clear_surface_model
, the model can no longer
be used. The handle SurfaceModelID
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
SurfaceModelID
(input_control, state is modified) surface_model(-array) →
(handle)
Handle of the surface model.
Result
If the handle of the model is valid, the operator
clear_surface_model
returns the value 2 (
H_MSG_TRUE)
. If necessary an
exception is raised.
Possible Predecessors
read_surface_model
,
create_surface_model
See also
read_surface_model
,
create_surface_model
Module
3D Metrology