ModelObject Property
Applies To
Vision Objects: Correlation, Geometric, Polar
Description
Determines which model to use for searching.
Usage
VGet Sequence.Object.ModelObject, var
VSet Sequence.Object.ModelObject, 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
Self Use the model for this object to search with.
objectName Use the model for this object.
Default: Self
Remarks
The ModelObject property enables you to use one model for several objects of the same type. For example,
if you have 5 polar objects that all search for the same part, you can teach the model for the first polar
object, then set the ModelObject for the remaining polar objects to "Polar01" (the first polar object).
Note that you cannot set the ModelObject property to an object whose ModelObject property is not 'Self'.
See Also
Object Tab
Vision Guide 5.0 Reference (Ver.5.3) Rev.1 77