beautypg.com

Lineobject2 property – Epson 5 User Manual

Page 79

background image

LineObject2 Property

LineObject2 Property

Applies To

Vision Objects: Point

Description

Specifies the 2nd Line object to use for defining the position of a Point object when that position is defined
by the intersection point of 2 lines. (LineObject1 and LineObject2 together define 2 lines whose
intersection point can be defined as the position of the Point object.)

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 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 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 will be available to use as LineObject2. (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 LineObject2 property Value Field and a drop down
list will appear showing a list of available Line objects which can be used for the LineObject2 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 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 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

)

NOTE

Line Object, LineObject1 Property, Object Tab, Point Object, PointType Property

Vision Guide 5.0 Reference (Ver.5.3) Rev.1

65