deserialize_shape_modelT_deserialize_shape_modelDeserializeShapeModelDeserializeShapeModeldeserialize_shape_model (Operator)

Name

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_modelDeserializeShapeModelDeserializeShapeModelDeserializeShapeModeldeserialize_shape_model deserializes a shape model, that was serialized by serialize_shape_modelserialize_shape_modelSerializeShapeModelSerializeShapeModelSerializeShapeModelserialize_shape_model (see fwrite_serialized_itemfwrite_serialized_itemFwriteSerializedItemFwriteSerializedItemFwriteSerializedItemfwrite_serialized_item for an introduction of the basic principle of serialization). The serialized shape model is defined by the handle SerializedItemHandleSerializedItemHandleSerializedItemHandleSerializedItemHandleserializedItemHandleserialized_item_handle. The deserialized values are stored in an automatically created shape model with the handle ModelIDModelIDModelIDModelIDmodelIDmodel_id.

Execution Information

Parameters

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

Handle of the serialized item.

ModelIDModelIDModelIDModelIDmodelIDmodel_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_modelDeserializeShapeModelDeserializeShapeModelDeserializeShapeModeldeserialize_shape_model returns the value 2 (H_MSG_TRUE). If necessary, an exception is raised.

Possible Predecessors

fread_serialized_itemfread_serialized_itemFreadSerializedItemFreadSerializedItemFreadSerializedItemfread_serialized_item, receive_serialized_itemreceive_serialized_itemReceiveSerializedItemReceiveSerializedItemReceiveSerializedItemreceive_serialized_item, serialize_shape_modelserialize_shape_modelSerializeShapeModelSerializeShapeModelSerializeShapeModelserialize_shape_model

Possible Successors

find_generic_shape_modelfind_generic_shape_modelFindGenericShapeModelFindGenericShapeModelFindGenericShapeModelfind_generic_shape_model

Module

Matching