write_surface_model🔗
Short description🔗
write_surface_model — Write a surface model to a file.
Signature🔗
write_surface_model( surface_model SurfaceModelID, filename.write FileName )
Description🔗
The operator write_surface_model writes a surface model to the file
FileName.
The file can be read again with read_surface_model.
The default HALCON file extension for the surface model (SFM) file is
'sfm'.
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.
Parameters🔗
SurfaceModelID (input_control) surface_model → (handle)
Handle of the surface model.
FileName (input_control) filename.write → (string)
File name.
File extension: .sfm
Result🔗
write_surface_model returns 2 (H_MSG_TRUE) if all parameters are
correct and the HALCON process has write permission to the file.
If necessary, an exception is raised.
Combinations with other operators🔗
Combinations
Possible predecessors
read_surface_model, create_surface_model, get_surface_model_param
Possible successors
See also
Module🔗
3D Metrology