### Auto Align

The Auto Align button uses the three currently selected features to automatically create an alignment. The Auto Align button is active only when exactly three features are selected. The order in which the three features are selected is extremely important.

- The first of the three features will be used to establish the orientation of the normal axis to the current working plane.

- The current working plane will then be rotated to the second feature.

- Lastly, the part origin will be set according to the third feature type.

For example, if you select a:

Plane, Line and a Point with a ZPLUS workplane:
The plane will establish the ZPLUS orientation of the part. The measured line becomes the XPLUS major axis. The origin is set with the Z zero equal to that of the plane. The Y is equal to that of the line and the X is equal to that of the point.

Plane, Line and a Measured Circle with a YMINUS workplane:
The plane will establish the YMINUS orientation of the part. The measured line becomes the ZMINUS major axis. The origin is set with the Y zero equal to that of the plane. The X and Z zeros (origins) are equal to the center of the circle.

If PC-DMIS is unable to create a new alignment based on the three selected features, a pop-window will appear with an error message.

Important: In an Auto Alignment the origin of the alignment is based on the third feature used.
♦ If it's a point, PC-DMIS sets the axes origin. If not, PC-DMIS checks the feature's default axes.
♦ If it's an Auto Line, PC-DMIS returns X, Y, and Z and sets the origin on the X, Y, and Z.
♦ If it's a Measured Line, PC-DMIS determines which axis the approach vector most closely follows and then zeros out the other two axes.
♦ If it's an Auto Circle, PC-DMIS sets all three axes.
♦ If it's a Measured Circle, PC-DMIS looks at the workplane and only sets two axes.