Operator Reference

serialize_object_model_3dT_serialize_object_model_3dSerializeObjectModel3dSerializeObjectModel3dserialize_object_model_3d (Operator)

serialize_object_model_3dT_serialize_object_model_3dSerializeObjectModel3dSerializeObjectModel3dserialize_object_model_3d — Serialize a 3D object model.

Signature

serialize_object_model_3d( : : ObjectModel3D : SerializedItemHandle)

Herror T_serialize_object_model_3d(const Htuple ObjectModel3D, Htuple* SerializedItemHandle)

void SerializeObjectModel3d(const HTuple& ObjectModel3D, HTuple* SerializedItemHandle)

HSerializedItem HObjectModel3D::SerializeObjectModel3d() const

static void HOperatorSet.SerializeObjectModel3d(HTuple objectModel3D, out HTuple serializedItemHandle)

HSerializedItem HObjectModel3D.SerializeObjectModel3d()

def serialize_object_model_3d(object_model_3d: HHandle) -> HHandle

Description

serialize_object_model_3dserialize_object_model_3dSerializeObjectModel3dSerializeObjectModel3dserialize_object_model_3d serializes the data of a 3D object model (see fwrite_serialized_itemfwrite_serialized_itemFwriteSerializedItemFwriteSerializedItemfwrite_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_3dwrite_object_model_3dWriteObjectModel3dWriteObjectModel3dwrite_object_model_3d is converted to a serialized item. The 3D object model is defined by the handle ObjectModel3DObjectModel3DObjectModel3DobjectModel3Dobject_model_3d. The serialized 3D object model is returned by the handle SerializedItemHandleSerializedItemHandleSerializedItemHandleserializedItemHandleserialized_item_handle and can be deserialized by deserialize_object_model_3ddeserialize_object_model_3dDeserializeObjectModel3dDeserializeObjectModel3ddeserialize_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

ObjectModel3DObjectModel3DObjectModel3DobjectModel3Dobject_model_3d (input_control)  object_model_3d HObjectModel3D, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)

Handle of the 3D object model.

SerializedItemHandleSerializedItemHandleSerializedItemHandleserializedItemHandleserialized_item_handle (output_control)  serialized_item HSerializedItem, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)

Handle of the serialized item.

Result

If the parameters are valid, the operator serialize_object_model_3dserialize_object_model_3dSerializeObjectModel3dSerializeObjectModel3dserialize_object_model_3d returns the value 2 ( H_MSG_TRUE) . If necessary, an exception is raised.

Possible Predecessors

read_object_model_3dread_object_model_3dReadObjectModel3dReadObjectModel3dread_object_model_3d, xyz_to_object_model_3dxyz_to_object_model_3dXyzToObjectModel3dXyzToObjectModel3dxyz_to_object_model_3d

Possible Successors

read_object_model_3dread_object_model_3dReadObjectModel3dReadObjectModel3dread_object_model_3d, fwrite_serialized_itemfwrite_serialized_itemFwriteSerializedItemFwriteSerializedItemfwrite_serialized_item, send_serialized_itemsend_serialized_itemSendSerializedItemSendSerializedItemsend_serialized_item, deserialize_object_model_3ddeserialize_object_model_3dDeserializeObjectModel3dDeserializeObjectModel3ddeserialize_object_model_3d

See also

read_object_model_3dread_object_model_3dReadObjectModel3dReadObjectModel3dread_object_model_3d

Module

3D Metrology