Epson Net 5 사용자 설명서

다운로드
페이지 216
 
ModelWinHeight Property 
 
ModelWinHeight Property 
 
Applies To 
Vision Objects: Correlation, Geometric 
 
Description 
Defines the height of the model window used for Correlation and Geometric object models. 
 
Usage 
VGet  Sequence.Object.ModelWinHeightvar 
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. 
 
Values 
Integer number in pixels from 10 - 255. 
Default: 50 
 
 
 
Remarks 
The model window always fits inside the Search Window.  
The Correlation and Geometric objects have rectangular model windows which define the position and size 
of the model to be taught.  The ModelWinHeight property is set automatically when the user drags the 
upper or lower horizontal sides of the model window. 
Keep in mind that larger model windows cause the taught Model to be bigger, which in turn cause the 
execution time to increase. 
The ModelWinHeight property is available from both the Vision Guide window Object tab and from the 
SPEL
+
 Language.  The easiest way to set the ModelWinHeight is to simply click on the upper or lower 
horizontal sides of the model window and then drag them vertically.   
It is also possible to set a specific height value for the ModelWinHeight property.  Click on the 
ModelWinHeight property Value Field and simply enter in the value which you would like to set the 
ModelWinHeight property to.  Once the user moves the cursor off the value field, the ModelWinHeight 
will be adjusted for the associated vision object.  Note that the additional height is added to the lower side 
of the model window.  This is because the upper most position of the model window is fixed according to 
the ModelWinTop property. 
 
See Also 
Anatomy of a Vision Object , Correlation Object, Geometric Object, ModelOrgAutoCenter Property, 
ModelOrgY Property, ModelOrgY Property, ModelWin Property, ModelWinLeft Property, ModelWinTop 
Property, ModelWinWidth Property, Object Tab 
Vision Guide 5.0 Reference (Ver.5.3) Rev.1 
83