SearchPolarity Property
Applies To
Vision Objects: Geometric
Description
Sets and returns which polarity search mode to use.
Usage
VGet Sequence.Object.SearchPolarity, var
VSet Sequence.Object.SearchPolarity, value
- Sequence
- 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 value or expression for the new value of the property.
Values
- 0 - Same
- Vision constant: VISION_SEARCHPOL_SAME
- Find objects only with same polarity as model
- 1 - SameAndReversed
- Vision constant: VISION_SEARCHPOL_SAMEANDREV
- Find objects with same polarity or reverse polarity
- 2 - Blended
- Vision constant: VISION_SEARCHPOL_BLENDED
- Find objects mixed the same polarity and reverse polarity
Default: 0 - Same
Remarks
Use SearchPolarity to configure the Geometric tool to search for objects with the same polarity as the model, same and reverse polarity, or reverse polarity.
Note:
SearchPolarity replaces SearchReversed, which was used in versions for EPSON RC+ 7.0 (prior to v7.1.0), and CV1 firmware (prior to v2.2.0.0).
See Also
Geometric Object, Reversed Result