Operator Reference

serialize_surface_modelT_serialize_surface_modelSerializeSurfaceModelSerializeSurfaceModelserialize_surface_model (Operator)

serialize_surface_modelT_serialize_surface_modelSerializeSurfaceModelSerializeSurfaceModelserialize_surface_model — Serialize a surface_model.

Signature

serialize_surface_model( : : SurfaceModelID : SerializedItemHandle)

Herror T_serialize_surface_model(const Htuple SurfaceModelID, Htuple* SerializedItemHandle)

void SerializeSurfaceModel(const HTuple& SurfaceModelID, HTuple* SerializedItemHandle)

HSerializedItem HSurfaceModel::SerializeSurfaceModel() const

static void HOperatorSet.SerializeSurfaceModel(HTuple surfaceModelID, out HTuple serializedItemHandle)

HSerializedItem HSurfaceModel.SerializeSurfaceModel()

def serialize_surface_model(surface_model_id: HHandle) -> HHandle

Description

serialize_surface_modelserialize_surface_modelSerializeSurfaceModelSerializeSurfaceModelserialize_surface_model serializes the data of a surface 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_surface_modelwrite_surface_modelWriteSurfaceModelWriteSurfaceModelwrite_surface_model is converted to a serialized item. The surface model is defined by the handle SurfaceModelIDSurfaceModelIDSurfaceModelIDsurfaceModelIDsurface_model_id. The serialized surface model is returned by the handle SerializedItemHandleSerializedItemHandleSerializedItemHandleserializedItemHandleserialized_item_handle and can be deserialized by deserialize_surface_modeldeserialize_surface_modelDeserializeSurfaceModelDeserializeSurfaceModeldeserialize_surface_model.

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

SurfaceModelIDSurfaceModelIDSurfaceModelIDsurfaceModelIDsurface_model_id (input_control)  surface_model HSurfaceModel, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)

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

Possible Predecessors

read_surface_modelread_surface_modelReadSurfaceModelReadSurfaceModelread_surface_model, create_surface_modelcreate_surface_modelCreateSurfaceModelCreateSurfaceModelcreate_surface_model, get_surface_model_paramget_surface_model_paramGetSurfaceModelParamGetSurfaceModelParamget_surface_model_param

Possible Successors

clear_surface_modelclear_surface_modelClearSurfaceModelClearSurfaceModelclear_surface_model, fwrite_serialized_itemfwrite_serialized_itemFwriteSerializedItemFwriteSerializedItemfwrite_serialized_item, send_serialized_itemsend_serialized_itemSendSerializedItemSendSerializedItemsend_serialized_item, deserialize_surface_modeldeserialize_surface_modelDeserializeSurfaceModelDeserializeSurfaceModeldeserialize_surface_model

See also

create_surface_modelcreate_surface_modelCreateSurfaceModelCreateSurfaceModelcreate_surface_model, read_surface_modelread_surface_modelReadSurfaceModelReadSurfaceModelread_surface_model, write_surface_modelwrite_surface_modelWriteSurfaceModelWriteSurfaceModelwrite_surface_model

Module

3D Metrology