LineObject1 Property
LineObject1 Property
Applies To
Vision Objects: Point
Description
Specifies the 1st Line object to use for defining the position of a Point object. (LineObject1 defines the line
which is used by the PointType property for defining the position of the Point object. )
Usage
VGet Sequence.Object.LineObject1, var
VSet Sequence.Object.LineObject1, 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
Any Line object which is located prior to the Point object can be specified as the LineObject1 property
value.
Default: None
Remarks
When a Point object is first created, the default LineObject1 property is set to None. However, if you want
to position a point on the midpoint of a line, then the LineObject1 property defines which Line object to
use. In this case the LineObject1 property must be set first and then the PointType property can be set to
MidPoint. A MidPoint of a line can only be specified for LineObject1. (i.e. you cannot specify the
MidPoint of the LineObject2 property.)
LineObject1 can also be used to define the 1st of 2 lines when you want to define a Point object position as
the intersection point between 2 lines. (LineObject2 defines the other Line to use for the intersection point.)
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 will be available to use as LineObject1. (The order of
the vision object execution can be adjusted from the Sequence Tab.)
)
NOTE
When using the point and click interface click on the LineObject1 property Value Field and a drop down
list will appear showing a list of available Line objects which can be used for the LineObject1 property.
Click on one of the choices and the value field will be set accordingly.
When using the Point-and-Click Object tab to set the LineObject1 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 which isn't defined prior to the Point object.
)
NOTE
Vision Guide automatically checks which vision objects may be used as LineObject1 and only displays
those items in the LineObject1 drop down list.
See Also
Line Object, Object Tab, Point Object, PointType Property
64 Vision Guide 5.0 Reference (Ver.5.3) Rev.1