Skip To Main Content
Account
Settings
Logout
  • placeholder
Account
Settings
Logout
Filter:
Submit Search

Fixture

Creates a Fixture A fixture is a coordinate location on the image that keeps the tool in the place determined by the fixture. structure.

ClosedInputs
Parameter Description

Image

This argument must reference a spreadsheet cell that contains a valid Image data structure. By default, the cell referenced is cell A1, containing the Image data structure .

Fixture

Specifies the image coordinate system in which the fixture is defined.

X

The X-offset.

Y

The Y-offset.

Theta

The rotation from the image X-axis, in the image coordinate system. (+/-360 degrees clockwise)

Show

Specifies the display mode for the Fixture point graphical overlay on the image.

0 = hide all (default)

The fixture point graphic is not be displayed unless the cell containing the Fixture function is highlighted in the spreadsheet.

2 = input graphics only

The fixture point graphic is always displayed.

ClosedOutputs

Returns

A Fixture data structure, or #ERR if any of the input parameters are invalid.

Results

When Fixture is initially inserted into a cell, the following Structures Vision Data Access functions are automatically inserted into the spreadsheet to create a result table:

Label Function Description

X

GetX(Fixture)

Returns the X-offset of the fixture, in image coordinates.

Y

GetY(Fixture)

Returns the Y-offset of the fixture, in image coordinates.

Angle

GetAngle(Fixture)

Returns the orientation angle, in image coordinates.


Copyright © 2025  |  Cognex Corporation  |  All Rights Reserved.

In-Sight 3D Spreadsheet Help  |  2025 August 06  |  Revision: 25.2.0.129