Operator Reference

serialize_metrology_modelT_serialize_metrology_modelSerializeMetrologyModelSerializeMetrologyModelserialize_metrology_model (Operator)

serialize_metrology_modelT_serialize_metrology_modelSerializeMetrologyModelSerializeMetrologyModelserialize_metrology_model — Serialize a metrology model.

Signature

serialize_metrology_model( : : MetrologyHandle : SerializedItemHandle)

Herror T_serialize_metrology_model(const Htuple MetrologyHandle, Htuple* SerializedItemHandle)

void SerializeMetrologyModel(const HTuple& MetrologyHandle, HTuple* SerializedItemHandle)

HSerializedItem HMetrologyModel::SerializeMetrologyModel() const

static void HOperatorSet.SerializeMetrologyModel(HTuple metrologyHandle, out HTuple serializedItemHandle)

HSerializedItem HMetrologyModel.SerializeMetrologyModel()

def serialize_metrology_model(metrology_handle: HHandle) -> HHandle

Description

serialize_metrology_modelserialize_metrology_modelSerializeMetrologyModelSerializeMetrologyModelserialize_metrology_model serializes the data of a metrology 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_metrology_modelwrite_metrology_modelWriteMetrologyModelWriteMetrologyModelwrite_metrology_model is converted to a serialized item. The metrology model is defined by the handle MetrologyHandleMetrologyHandleMetrologyHandlemetrologyHandlemetrology_handle. The serialized metrology model is returned by the handle SerializedItemHandleSerializedItemHandleSerializedItemHandleserializedItemHandleserialized_item_handle and can be deserialized by deserialize_metrology_modeldeserialize_metrology_modelDeserializeMetrologyModelDeserializeMetrologyModeldeserialize_metrology_model.

For an explanation of the concept of 2D metrology see the introduction of chapter 2D Metrology.

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

MetrologyHandleMetrologyHandleMetrologyHandlemetrologyHandlemetrology_handle (input_control)  metrology_model HMetrologyModel, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)

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

Possible Predecessors

create_metrology_modelcreate_metrology_modelCreateMetrologyModelCreateMetrologyModelcreate_metrology_model, add_metrology_object_circle_measureadd_metrology_object_circle_measureAddMetrologyObjectCircleMeasureAddMetrologyObjectCircleMeasureadd_metrology_object_circle_measure, add_metrology_object_ellipse_measureadd_metrology_object_ellipse_measureAddMetrologyObjectEllipseMeasureAddMetrologyObjectEllipseMeasureadd_metrology_object_ellipse_measure, add_metrology_object_line_measureadd_metrology_object_line_measureAddMetrologyObjectLineMeasureAddMetrologyObjectLineMeasureadd_metrology_object_line_measure, add_metrology_object_rectangle2_measureadd_metrology_object_rectangle2_measureAddMetrologyObjectRectangle2MeasureAddMetrologyObjectRectangle2Measureadd_metrology_object_rectangle2_measure, set_metrology_object_paramset_metrology_object_paramSetMetrologyObjectParamSetMetrologyObjectParamset_metrology_object_param, set_metrology_object_fuzzy_paramset_metrology_object_fuzzy_paramSetMetrologyObjectFuzzyParamSetMetrologyObjectFuzzyParamset_metrology_object_fuzzy_param, read_metrology_modelread_metrology_modelReadMetrologyModelReadMetrologyModelread_metrology_model

Possible Successors

fwrite_serialized_itemfwrite_serialized_itemFwriteSerializedItemFwriteSerializedItemfwrite_serialized_item, send_serialized_itemsend_serialized_itemSendSerializedItemSendSerializedItemsend_serialized_item, deserialize_metrology_modeldeserialize_metrology_modelDeserializeMetrologyModelDeserializeMetrologyModeldeserialize_metrology_model

Module

2D Metrology