Operator Reference

serialize_shape_model_3dT_serialize_shape_model_3dSerializeShapeModel3dSerializeShapeModel3dserialize_shape_model_3d (Operator)

serialize_shape_model_3dT_serialize_shape_model_3dSerializeShapeModel3dSerializeShapeModel3dserialize_shape_model_3d — Serialize a 3D shape model.

Signature

serialize_shape_model_3d( : : ShapeModel3DID : SerializedItemHandle)

Herror T_serialize_shape_model_3d(const Htuple ShapeModel3DID, Htuple* SerializedItemHandle)

void SerializeShapeModel3d(const HTuple& ShapeModel3DID, HTuple* SerializedItemHandle)

HSerializedItem HShapeModel3D::SerializeShapeModel3d() const

static void HOperatorSet.SerializeShapeModel3d(HTuple shapeModel3DID, out HTuple serializedItemHandle)

HSerializedItem HShapeModel3D.SerializeShapeModel3d()

def serialize_shape_model_3d(shape_model_3did: HHandle) -> HHandle

Description

serialize_shape_model_3dserialize_shape_model_3dSerializeShapeModel3dSerializeShapeModel3dserialize_shape_model_3d serializes the data of a 3D shape 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 by write_shape_model_3dwrite_shape_model_3dWriteShapeModel3dWriteShapeModel3dwrite_shape_model_3d is converted to a serialized item. The 3D shape model is defined by the handle ShapeModel3DIDShapeModel3DIDShapeModel3DIDshapeModel3DIDshape_model_3did. The serialized 3D shape model is returned by the handle SerializedItemHandleSerializedItemHandleSerializedItemHandleserializedItemHandleserialized_item_handle and can be deserialized by deserialize_shape_model_3ddeserialize_shape_model_3dDeserializeShapeModel3dDeserializeShapeModel3ddeserialize_shape_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

ShapeModel3DIDShapeModel3DIDShapeModel3DIDshapeModel3DIDshape_model_3did (input_control)  shape_model_3d HShapeModel3D, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)

Handle of the 3D shape 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_shape_model_3dserialize_shape_model_3dSerializeShapeModel3dSerializeShapeModel3dserialize_shape_model_3d returns the value 2 ( H_MSG_TRUE) . If necessary, an exception is raised.

Possible Predecessors

create_shape_model_3dcreate_shape_model_3dCreateShapeModel3dCreateShapeModel3dcreate_shape_model_3d

Possible Successors

fwrite_serialized_itemfwrite_serialized_itemFwriteSerializedItemFwriteSerializedItemfwrite_serialized_item, send_serialized_itemsend_serialized_itemSendSerializedItemSendSerializedItemsend_serialized_item, deserialize_shape_model_3ddeserialize_shape_model_3dDeserializeShapeModel3dDeserializeShapeModel3ddeserialize_shape_model_3d

Module

3D Metrology