Epson 5 Welding System User Manual


 
ModelOrgY Property
ModelOrgY Property
Applies To
Vision Objects: Correlation, Geometric
Description
A model has a fixed reference point by which we describe its location in an image. This point is referred to
as the model's Origin. The ModelOrgY property contains the Y coordinate value of the model's origin.
Usage
VGet Sequence.Object.ModelOrgY, var
VSet Sequence.Object.ModelOrgY, 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 Integer variable that will contain the value of the property.
value Integer expression for the new value of the property.
Values
Basically, the ModelOrgY property can be set between 1-255. However, it should be noted that the
ModelOrgY defines the Y coordinate of the model origin with respect to the model's upper left corner.
Default: The model origin is placed in the center of the model window when a new object is created.
Remarks
The model origin may lie anywhere within the model's bounds. The origin's coordinates define the model
origin relative to the model's upper left corner, that is, relative to the location of element [0][0] of the image
that defines the model.
When you create a new Correlation object, the model origin is set to the center of the model window.
However, the user may modify this position by typing in a new X and Y positions into the ModelOrgX and
ModelOrgY Properties or by simply clicking on the model origin (the crosshair shown in the middle of the
model window) and moving it to the position desired.
The user can also modify the model origin automatically by setting the ModelOrgAutoCenter property to
True. If the ModelOrgAutoCenter property is set to True then the model origin is automatically set to the
center of the model window.
)
NOTE
If the ModelOrgAutoCenter property is set to True, the ModelOrgY property cannot be used to reposition
the model origin.
See Also
Anatomy of a Vision Object , Correlation Object, Geometric Object, ModelOrgAutoCenter Property,
ModelOrgX Property, Object Tab
Vision Guide 5.0 Reference (Ver.5.3) Rev.1 81