CenterPointObject Property
Applies To
Vision Objects: Blob, Correlation, Geometric, Polar
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 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 set to something other than Screen, the vision
object defined as CenterPointObject is executed first and the resulting position (PixelX and PixelY) is used
to position the object before it is taught. In order for the current object to be found in the future also
requires that the vision object defined as the CenterPointObject is found so that the center of the current
object can be based on the PixelX and PixelY positions for that object.
See Also
Blob Object, CenterX Property, CenterY Property, Correlation Object, Geometric Object, Object Tab, Polar
Object
Vision Guide 5.0 Reference (Ver.5.3) Rev.1 33