ClassesClasses | | Operators

serialize_shape_model_3dT_serialize_shape_model_3dSerializeShapeModel3dSerializeShapeModel3d (Operator)

Name

serialize_shape_model_3dT_serialize_shape_model_3dSerializeShapeModel3dSerializeShapeModel3d — 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()

Description

serialize_shape_model_3dserialize_shape_model_3dSerializeShapeModel3dSerializeShapeModel3dSerializeShapeModel3d serializes the data of a 3D shape model (see fwrite_serialized_itemfwrite_serialized_itemFwriteSerializedItemFwriteSerializedItemFwriteSerializedItem 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_3dWriteShapeModel3dWriteShapeModel3dWriteShapeModel3d is converted to a serialized item. The 3D shape model is defined by the handle ShapeModel3DIDShapeModel3DIDShapeModel3DIDShapeModel3DIDshapeModel3DID. The serialized 3D shape model is returned by the handle SerializedItemHandleSerializedItemHandleSerializedItemHandleSerializedItemHandleserializedItemHandle and can be deserialized by deserialize_shape_model_3ddeserialize_shape_model_3dDeserializeShapeModel3dDeserializeShapeModel3dDeserializeShapeModel3d.

Execution Information

Parameters

ShapeModel3DIDShapeModel3DIDShapeModel3DIDShapeModel3DIDshapeModel3DID (input_control)  shape_model_3d HShapeModel3D, HTupleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)

Handle of the 3D shape model.

SerializedItemHandleSerializedItemHandleSerializedItemHandleSerializedItemHandleserializedItemHandle (output_control)  serialized_item HSerializedItem, HTupleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)

Handle of the serialized item.

Result

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

Possible Predecessors

create_shape_model_3dcreate_shape_model_3dCreateShapeModel3dCreateShapeModel3dCreateShapeModel3d

Possible Successors

fwrite_serialized_itemfwrite_serialized_itemFwriteSerializedItemFwriteSerializedItemFwriteSerializedItem, send_serialized_itemsend_serialized_itemSendSerializedItemSendSerializedItemSendSerializedItem, deserialize_shape_model_3ddeserialize_shape_model_3dDeserializeShapeModel3dDeserializeShapeModel3dDeserializeShapeModel3d

Module

3D Metrology


ClassesClasses | | Operators