ClassesClasses | | Operators

copy_metrology_modelcopy_metrology_modelCopyMetrologyModelCopyMetrologyModel (Operator)

Name

copy_metrology_modelcopy_metrology_modelCopyMetrologyModelCopyMetrologyModel — Copy a metrology model.

Signature

copy_metrology_model( : : MetrologyHandle, Index : CopiedMetrologyHandle)

Herror copy_metrology_model(const Hlong MetrologyHandle, const char* Index, Hlong* CopiedMetrologyHandle)

Herror T_copy_metrology_model(const Htuple MetrologyHandle, const Htuple Index, Htuple* CopiedMetrologyHandle)

void CopyMetrologyModel(const HTuple& MetrologyHandle, const HTuple& Index, HTuple* CopiedMetrologyHandle)

Hlong HMetrologyModel::CopyMetrologyModel(const HTuple& Index) const

Hlong HMetrologyModel::CopyMetrologyModel(const HString& Index) const

Hlong HMetrologyModel::CopyMetrologyModel(const char* Index) const

static void HOperatorSet.CopyMetrologyModel(HTuple metrologyHandle, HTuple index, out HTuple copiedMetrologyHandle)

int HMetrologyModel.CopyMetrologyModel(HTuple index)

int HMetrologyModel.CopyMetrologyModel(string index)

Description

copy_metrology_modelcopy_metrology_modelCopyMetrologyModelCopyMetrologyModelCopyMetrologyModel creates a new metrology model and copies the selected metrology objects of the input metrology model to this new output metrology model.

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

The input metrology model is defined by a handle MetrologyHandleMetrologyHandleMetrologyHandleMetrologyHandlemetrologyHandle. The parameter IndexIndexIndexIndexindex determines the metrology objects that are copied. With IndexIndexIndexIndexindex set to 'all'"all""all""all""all", all metrology objects are copied. The operator returns the handle CopiedMetrologyHandleCopiedMetrologyHandleCopiedMetrologyHandleCopiedMetrologyHandlecopiedMetrologyHandle of the new metrology model. It can be used to save memory space. Access to the parameters of the metrology objects is possible, e.g., with the operator get_metrology_object_paramget_metrology_object_paramGetMetrologyObjectParamGetMetrologyObjectParamGetMetrologyObjectParam.

Execution Information

Parameters

MetrologyHandleMetrologyHandleMetrologyHandleMetrologyHandlemetrologyHandle (input_control)  metrology_model HMetrologyModel, HTupleHTupleHtuple (integer) (IntPtr) (Hlong) (Hlong)

Handle of the metrology model.

IndexIndexIndexIndexindex (input_control)  integer(-array) HTupleHTupleHtuple (string / integer) (string / int / long) (HString / Hlong) (char* / Hlong)

Index of the metrology objects.

Default value: 'all' "all" "all" "all" "all"

Suggested values: 'all'"all""all""all""all", 0, 1, 2

CopiedMetrologyHandleCopiedMetrologyHandleCopiedMetrologyHandleCopiedMetrologyHandlecopiedMetrologyHandle (output_control)  integer HTupleHTupleHtuple (integer) (int / long) (Hlong) (Hlong)

Handle of the copied metrology model.

Result

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

Module

2D Metrology


ClassesClasses | | Operators