LineObject2 Property
Applies To
Vision Objects: Point
Description
Specifies the 2nd Line object or LineFinder Object to use for defining the position of a Point object when that position is defined by the intersection point of 2 lines.
Usage
VGet Sequence.Object.LineObject2, var
VSet Sequence.Object.LineObject2, 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 or string expression for the new value of the property.
Values
Any Line object which is located prior to the Point object or LineFinder Object can be specified as the LineObject2 property value.
Default: “None”
Remarks
The LineObject2 property is only required when you want to define the position of a Point object as the position of intersection between 2 Lines. In this case LineObject1 must also specify a Line object before the PointType property can be set. Once the lines are defined for LineObject1 and LineObject2, the PointType property can be set to Intersection. However, if either the LineObject1 or LineObject property is not yet defined then an error will occur when trying to set the PointType property to Intersection.
It is important to note that for each specific vision sequence, only those Line objects which are executed prior to the Point object in the vision sequence steps or LineFinder Object will be available to use as LineObject2. (The order of the vision object execution can be changed from the flow chart.)
Click the LineObject2 property Value Field and a drop down list will appear showing a list of available Line objects and LineFinder Object which can be used for the LineObject2 property. Click one of the choices and the value field will be set accordingly.
Set the LineObject2 property it is important to note that only those objects which are defined prior to the Point object are displayed in the drop down list. This helps reduce the chances of the user defining a Line object or LineFinder Object which isn't defined prior to the Point object.
Vision Guide automatically checks which vision objects may be used as LineObject2 and only displays those items in the LineObject2 drop down list.
See Also
Line Object, LineFinderObject, LineObject1 Property, Point Object, PointType Property