CenterPointObject Property
Applies To
Vision Objects: ArcFinder, ArcInspector, Blob, BoxFinder, CodeReader, ColorMatch, Contour, CornerFinder, Correlation, DefectFinder, Edge, Geometric, LineFinder, OCR, Point, Polar, Text
Description
Specifies the object whose position is used as the center for the specified object.
Usage
VGet Sequence.Object.CenterPointObject, var
VSet Sequence.Object.CenterPointObject, value
- Sequence
- Name of a sequence or string variable containing a sequence name.
- Object
- Name of an object or string variable containing an object name. The object must exist in the specified sequence.
- var
- String variable that will contain the value of the property.
- value
- String or string expression for the new value of the property.
Values
Name of a vision object or Screen.
Default: Screen
Remarks
The CenterPointObject is based on the resulting coordinate position of an object which is executed prior to the specified object. When teaching an object which has the CenterPointObject setting other than “Screen”, the vision object defined as CenterPointObject is executed first, and the position results (PixelX and PixelY) are used to determine the current object position. Therefore, to detect the current object, the object defined as the CenterPointObject should be found correctly.
See Also
Blob Object, CenterX Property, CenterY Property, CodeReader Object, ColorMatch Object, Correlation Object, Geometric Object, OCR Object, Point Object, Polar Object, ArcFinder Object, LineFinder Object, ArcInspector Object, BoxFinder Object, Contour Object, CornerFinder Object, Text Object