Cog3DCrsp2D3D PartInstanceIndex Property Cognex VisionPro
Gets/sets the index of the found part instance.

Namespace: Cognex.VisionPro3D
Assembly: Cognex.VisionPro3D (in Cognex.VisionPro3D.dll) Version: 65.1.0.0
Syntax

public int PartInstanceIndex { get; set; }

Property Value

Type: Int32
The index of the found part instance.
Exceptions

ExceptionCondition
ArgumentException If the input argument of the setter is less than 0.
Remarks

Note that the index of the found part instance is particular to the image acquired from the specified camera. The part instances with the same index number from different cameras may not correspond to the same part instance in the scene.

See Also