clear_shape_modelT_clear_shape_modelClearShapeModelClearShapeModelclear_shape_model (Operator)
名称
clear_shape_modelT_clear_shape_modelClearShapeModelClearShapeModelclear_shape_model — 释放形状模型的内存。
签名
Herror T_clear_shape_model(const Htuple ModelID)
def clear_shape_model(model_id: HHandle) -> None
描述
The operator clear_shape_modelclear_shape_modelClearShapeModelClearShapeModelClearShapeModelclear_shape_model frees the memory of a shape
model that was created by create_shape_modelcreate_shape_modelCreateShapeModelCreateShapeModelCreateShapeModelcreate_shape_model,
create_scaled_shape_modelcreate_scaled_shape_modelCreateScaledShapeModelCreateScaledShapeModelCreateScaledShapeModelcreate_scaled_shape_model, or
create_aniso_shape_modelcreate_aniso_shape_modelCreateAnisoShapeModelCreateAnisoShapeModelCreateAnisoShapeModelcreate_aniso_shape_model. After calling
clear_shape_modelclear_shape_modelClearShapeModelClearShapeModelClearShapeModelclear_shape_model, the model can no longer be used. The
handle ModelIDModelIDModelIDModelIDmodelIDmodel_id becomes invalid.
执行信息
- Multithreading type: reentrant (runs in parallel with non-exclusive operators).
- Multithreading scope: global (may be called from any thread).
- Processed without parallelization.
This operator modifies the state of the following input parameter:
During execution of this operator, access to the value of this parameter must be synchronized if it is used across multiple threads.
参数
ModelIDModelIDModelIDModelIDmodelIDmodel_id (input_control, state is modified) shape_model → HShapeModel, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)
Handle of the model.
结果
If the handle of the model is valid, the operator
clear_shape_modelclear_shape_modelClearShapeModelClearShapeModelClearShapeModelclear_shape_model returns the value 2 (
H_MSG_TRUE)
. If necessary an
exception is raised.
可能的前置算子
create_generic_shape_modelcreate_generic_shape_modelCreateGenericShapeModelCreateGenericShapeModelCreateGenericShapeModelcreate_generic_shape_model,
write_shape_modelwrite_shape_modelWriteShapeModelWriteShapeModelWriteShapeModelwrite_shape_model
模块
Matching