#### 2D Best Fit Command Line Format

The Edit window command line for the Best Fit 2D option reads:

ALIGNMENT/BF2D,TOG1,TOG2,CREATE WEIGHTS=YES,TOG3,0,0,0,0

CENTER OF ROTATION,MEAS_X,MEAS_Y,MEAS_Z,THEO_X,THEO_Y,THEO_Z

SHOWALLINPUTS=YES,SHOWALLPARAMS=YES

SHOWALLINPUTS=YES,SHOWALLPARAMS=YES

ID =

Available Fields:

"TOG1" This field allows you to switch between the available work planes. The current working plane should be displayed.

"TOG2" This field allows you to switch between the available types of best fits: LEASTSQR, VECFIT, and MINMAX. See "Available Best Fit Types" for information.

CREATE WEIGHTS= This option lets you determine whether or not PC-DMIS creates weights for the features used in the best fit alignment. Available options are YES or NO. See "Feature Weights".

"TOG3" This field determines the degrees of freedom for the 2D alignment. Available options are: ROTONLY (rotation only), ROTANDTRANS (rotation and translation), and TRANSONLY (translation only).

CENTER OF ROTATION This field and the measured and theoretical XYZ values associated with it, represent the center of rotation. They only appear if ROTONLY or ROTANDTRANS is used for the TOG2 field.

SHOWALLINPUTS= This option lets you determine whether or not the alignment code block displays the feature inputs used to create the alignment. Available options are YES or NO.

SHOWALLPARAMS= This option lets you determine whether or not the alignment code block displays all the parameters for the feature inputs. Available options are YES or NO.

If set to YES, then PC-DMIS will display this information for each input feature: Feature ID, Feature Type, Dimension ID, Feature Weight, Feature Use.

For example, it might look something like this.

ID = CIR2,Circles,LOC12,2.000000,YES

If set to NO, then PC-DMIS will display only the ID of the input feature

ID = CIR2

ID= Each line began with "ID=" represents an input feature used in the alignment.