Operator Reference

deserialize_shape_modelT_deserialize_shape_modelDeserializeShapeModelDeserializeShapeModeldeserialize_shape_model (Operator)

deserialize_shape_modelT_deserialize_shape_modelDeserializeShapeModelDeserializeShapeModeldeserialize_shape_model — Deserialize a serialized shape model.

Signature

deserialize_shape_model( : : SerializedItemHandle : ModelID)

Herror T_deserialize_shape_model(const Htuple SerializedItemHandle, Htuple* ModelID)

void DeserializeShapeModel(const HTuple& SerializedItemHandle, HTuple* ModelID)

void HShapeModel::DeserializeShapeModel(const HSerializedItem& SerializedItemHandle)

static void HOperatorSet.DeserializeShapeModel(HTuple serializedItemHandle, out HTuple modelID)

void HShapeModel.DeserializeShapeModel(HSerializedItem serializedItemHandle)

def deserialize_shape_model(serialized_item_handle: HHandle) -> HHandle

Description

deserialize_shape_modeldeserialize_shape_modelDeserializeShapeModelDeserializeShapeModeldeserialize_shape_model deserializes a shape model, that was serialized by serialize_shape_modelserialize_shape_modelSerializeShapeModelSerializeShapeModelserialize_shape_model (see fwrite_serialized_itemfwrite_serialized_itemFwriteSerializedItemFwriteSerializedItemfwrite_serialized_item for an introduction of the basic principle of serialization). The serialized shape model is defined by the handle SerializedItemHandleSerializedItemHandleSerializedItemHandleserializedItemHandleserialized_item_handle. The deserialized values are stored in an automatically created shape model with the handle ModelIDModelIDModelIDmodelIDmodel_id.

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

SerializedItemHandleSerializedItemHandleSerializedItemHandleserializedItemHandleserialized_item_handle (input_control)  serialized_item HSerializedItem, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)

Handle of the serialized item.

ModelIDModelIDModelIDmodelIDmodel_id (output_control)  shape_model HShapeModel, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)

Handle of the model.

Result

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

Possible Predecessors

fread_serialized_itemfread_serialized_itemFreadSerializedItemFreadSerializedItemfread_serialized_item, receive_serialized_itemreceive_serialized_itemReceiveSerializedItemReceiveSerializedItemreceive_serialized_item, serialize_shape_modelserialize_shape_modelSerializeShapeModelSerializeShapeModelserialize_shape_model

Possible Successors

find_generic_shape_modelfind_generic_shape_modelFindGenericShapeModelFindGenericShapeModelfind_generic_shape_model

Module

Matching