Skip to content

serialize_shape_model_3dSerializeShapeModel3dSerializeShapeModel3dserialize_shape_model_3dT_serialize_shape_model_3d🔗

Short description🔗

serialize_shape_model_3dSerializeShapeModel3dSerializeShapeModel3dserialize_shape_model_3dT_serialize_shape_model_3d — Serialize a 3D shape model.

Signature🔗

serialize_shape_model_3d( shape_model_3d ShapeModel3DID, out serialized_item SerializedItemHandle )void SerializeShapeModel3d( const HTuple& ShapeModel3DID, HTuple* SerializedItemHandle )static void HOperatorSet.SerializeShapeModel3d( HTuple shapeModel3DID, out HTuple serializedItemHandle )def serialize_shape_model_3d( shape_model_3did: HHandle ) -> HHandle

Herror T_serialize_shape_model_3d( const Htuple ShapeModel3DID, Htuple* SerializedItemHandle )

HSerializedItem HShapeModel3D::SerializeShapeModel3d( ) const

HSerializedItem HShapeModel3D.SerializeShapeModel3d( )

Description🔗

serialize_shape_model_3dSerializeShapeModel3d serializes the data of a 3D shape model (see fwrite_serialized_itemFwriteSerializedItem for an introduction of the basic principle of serialization). The same data that is written in a file by write_shape_model_3dWriteShapeModel3d is converted to a serialized item. The 3D shape model is defined by the handle ShapeModel3DIDshapeModel3DIDshape_model_3did. The serialized 3D shape model is returned by the handle SerializedItemHandleserializedItemHandleserialized_item_handle and can be deserialized by deserialize_shape_model_3dDeserializeShapeModel3d.

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🔗

ShapeModel3DIDshapeModel3DIDshape_model_3did (input_control) shape_model_3d → (handle)HTuple (HHandle)HShapeModel3D, HTuple (IntPtr)HHandleHtuple (handle)

Handle of the 3D shape model.

SerializedItemHandleserializedItemHandleserialized_item_handle (output_control) serialized_item → (handle)HTuple (HHandle)HSerializedItem, HTuple (IntPtr)HHandleHtuple (handle)

Handle of the serialized item.

Result🔗

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

Combinations with other operators🔗

Combinations

Possible predecessors

create_shape_model_3dCreateShapeModel3d

Possible successors

fwrite_serialized_itemFwriteSerializedItem, send_serialized_itemSendSerializedItem, deserialize_shape_model_3dDeserializeShapeModel3d

Module🔗

3D Metrology