Operator Reference
serialize_object_model_3d (Operator)
serialize_object_model_3d
— Serialize a 3D object model.
Signature
serialize_object_model_3d( : : ObjectModel3D : SerializedItemHandle)
Description
serialize_object_model_3d
serializes the data of a 3D object
model (see fwrite_serialized_item
for an introduction of the
basic principle of serialization). The same data that is written
in a file using the file format 'om3' of write_object_model_3d
is converted to a serialized item. The 3D object model is defined by
the handle ObjectModel3D
. The serialized 3D object model is
returned by the handle SerializedItemHandle
and can be
deserialized by deserialize_object_model_3d
.
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
ObjectModel3D
(input_control) object_model_3d →
(handle)
Handle of the 3D object model.
SerializedItemHandle
(output_control) serialized_item →
(handle)
Handle of the serialized item.
Result
If the parameters are valid, the operator
serialize_object_model_3d
returns the value 2 (
H_MSG_TRUE)
. If
necessary, an exception is raised.
Possible Predecessors
read_object_model_3d
,
xyz_to_object_model_3d
Possible Successors
read_object_model_3d
,
fwrite_serialized_item
,
send_serialized_item
,
deserialize_object_model_3d
See also
Module
3D Metrology