Graphics Property

Applies To
Vision Objects: All vision objects other than Decision and Coordinates

Description
Specifies which graphics to display at runtime and design time. (i.e. Whether to show graphics for each object, just position information, or nothing at all.)

For example, you can restrain the result display by setting the Graphics property of the vision objects which do not need to be displayed to “None”.

Usage

VGet  Sequence.Object.Graphics, var
VSet  Sequence.Object.Graphics, 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
Integer variable that will contain the value of the property.
value
Integer value or expression for the new value of the property.

Values

  • 1 - All
    • Vision constant: VISION_GRAPHICS_ALL
    • Display object labels, line references, and found position
  • 2 - Position Only
    • Vision constant: VISION_GRAPHICS_POSONLY
    • Display found position only
  • 3 - None
    • Vision constant: VISION_GRAPHICS_NONE
    • Don't display any graphics at run time

Default: 1 - All

Remarks
While graphics such as vision object Labels (which show vision object names), lines, Search Windows, and found position crosshairs are very useful they can get in the way if too many are displayed at the same time. The Graphics property can eliminate unnecessary clutter on the Vision Guide Development, Run or Operator Windows by removing those graphics from objects which the designer specifies.

The Graphics property is used to define the graphics display characteristics for each vision object. These will normally be set to values which, when combined with the Graphics Properties of other vision objects, will help reduce screen display clutter. The Graphics property is normally used to set the graphics characteristics exactly as you would like your final vision solution to display graphics on the Run or Operator Window.

The Graphics property settings for all vision objects can be overridden with the Force All Graphics On and Force Labels Off Vision Guide toolbar buttons.

It is important to note that the Graphics property settings apply to both runtime and design modes. (i.e. the Run Window, Operator Window, and Vision Guide Window) This is done to ensure that the graphics display is always the same regardless of if you run a sequence from the Vision Guide Window or from a program.

See Also
Blob Object, CodeReader Object, Correlation Object, Edge Object, Frame Object, Geometric Object, ImageOp Object, Line Object, OCR Object, Point Object, Polar Object