write_component_model🔗
Short description🔗
write_component_model — Write a component model to a file.
Warning🔗
write_component_model is obsolete and is only provided for
reasons of backward compatibility.
The operator will be removed with HALCON 26.11.
Signature🔗
write_component_model( component_model ComponentModelID, filename.write FileName )
Description🔗
The operator write_component_model writes the component
model ComponentModelID to the file FileName. The
model can be read again with read_component_model.
The default HALCON file extension for the component model is 'cbm'.
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🔗
ComponentModelID (input_control) component_model → (handle)
Handle of the component model.
FileName (input_control) filename.write → (string)
File name.
File extension: .cbm
Result🔗
If the file name is valid (write permission), the operator
write_component_model returns the value 2 (H_MSG_TRUE).
If necessary, an exception is raised.
Module🔗
Matching