copy_metrology_object — Copy metrology metrology objects of a metrology model.
copy_metrology_object copies metrology metrology objects within this metrology model (see create_metrology_model for the basic principle of 2D metrology). The metrology model is defined by the handle MetrologyHandle. The parameter Indices determines the metrology objects that are copied. With Indices set to 'all', all metrology objects are copied. The operator copy_metrology_object returns the indices of the new created metrology objects in the parameter CopiedIndices. The order of the new metrology objects corresponds to the order of the original metrology objects. Access to the parameters of the metrology objects of the metrology model is possible, e.g., with the operator get_metrology_object_param.
A metrology model 'MetrologyHandle' cannot be shared between two or more user's threads. Different metrology models can be used independently and safely in different threads.
Handle of the metrology model.
Indices of the metrology objects.
Default value: 'all'
Suggested values: 'all', 0, 1, 2
Indices of the copied metrology objects.
If the parameters are valid, the operator copy_metrology_object returns the value 2 (H_MSG_TRUE). If necessary, an exception is raised.
add_metrology_object_circle_measure, add_metrology_object_ellipse_measure, add_metrology_object_line_measure, add_metrology_object_rectangle2_measure