serialize_shape_modelT_serialize_shape_modelSerializeShapeModelSerializeShapeModelserialize_shape_model (Operator)

Name

serialize_shape_modelT_serialize_shape_modelSerializeShapeModelSerializeShapeModelserialize_shape_model — Serialize a shape model.

Signature

serialize_shape_model( : : ModelID : SerializedItemHandle)

Herror T_serialize_shape_model(const Htuple ModelID, Htuple* SerializedItemHandle)

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

HSerializedItem HShapeModel::SerializeShapeModel() const

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

HSerializedItem HShapeModel.SerializeShapeModel()

def serialize_shape_model(model_id: HHandle) -> HHandle

Description

serialize_shape_modelserialize_shape_modelSerializeShapeModelSerializeShapeModelSerializeShapeModelserialize_shape_model serializes the data of a shape model (see fwrite_serialized_itemfwrite_serialized_itemFwriteSerializedItemFwriteSerializedItemFwriteSerializedItemfwrite_serialized_item for an introduction of the basic principle of serialization). The same data that is written in a file by write_shape_modelwrite_shape_modelWriteShapeModelWriteShapeModelWriteShapeModelwrite_shape_model is converted to a serialized item. The shape model is defined by the handle ModelIDModelIDModelIDModelIDmodelIDmodel_id. The serialized shape model is returned by the handle SerializedItemHandleSerializedItemHandleSerializedItemHandleSerializedItemHandleserializedItemHandleserialized_item_handle and can be deserialized by deserialize_shape_modeldeserialize_shape_modelDeserializeShapeModelDeserializeShapeModelDeserializeShapeModeldeserialize_shape_model.

Execution Information

Parameters

ModelIDModelIDModelIDModelIDmodelIDmodel_id (input_control)  shape_model HShapeModel, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)

Handle of the model.

SerializedItemHandleSerializedItemHandleSerializedItemHandleSerializedItemHandleserializedItemHandleserialized_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_shape_modelserialize_shape_modelSerializeShapeModelSerializeShapeModelSerializeShapeModelserialize_shape_model returns the value TRUE. If necessary, an exception is raised.

Possible Predecessors

create_shape_modelcreate_shape_modelCreateShapeModelCreateShapeModelCreateShapeModelcreate_shape_model, create_scaled_shape_modelcreate_scaled_shape_modelCreateScaledShapeModelCreateScaledShapeModelCreateScaledShapeModelcreate_scaled_shape_model, create_aniso_shape_modelcreate_aniso_shape_modelCreateAnisoShapeModelCreateAnisoShapeModelCreateAnisoShapeModelcreate_aniso_shape_model

Possible Successors

fwrite_serialized_itemfwrite_serialized_itemFwriteSerializedItemFwriteSerializedItemFwriteSerializedItemfwrite_serialized_item, send_serialized_itemsend_serialized_itemSendSerializedItemSendSerializedItemSendSerializedItemsend_serialized_item, deserialize_shape_modeldeserialize_shape_modelDeserializeShapeModelDeserializeShapeModelDeserializeShapeModeldeserialize_shape_model

Module

Matching