To Create AutoCAD Lines by Best Fit

The best-fitting line through the points is calculated. You can then use a dialog box to exclude any of the specified points or to select a pass-through point.

To create an AutoCAD line by best fit from Autodesk Civil 3D points

  1. If you are creating a best fit line for a profile, set the profile view style vertical exaggeration to 1. See To Work With Profile View Styles for more information.
  2. Click Home tab Draw panel Best Fit drop-down Create Best Fit Line Find.
  3. In the Line By Best Fit dialog box, select From COGO Points.
  4. Select two or more points. Enter G to select a point group or N to enter points by number.

    As you select points in the drawing window, a white X marks each regression point and a temporary, dashed line is displayed in real time.

  5. Press Enter to complete the command.
  6. In the Panorama window, use the Regression Data vista to make changes to the regression points.

    As you highlight a row in the Regression Data vista, the corresponding regression point in the drawing window will be highlighted in red.

    Note:

    When the AutoCAD line is created, it will not retain any link to the regression points.

  7. Create the AutoCAD line:
    • Click to create the line and keep the regression data. You may then use the data as a basis to create more lines.
    • Click to create the line, clear the regression data, and close the Regression Data vista.
  8. If desired, convert the AutoCAD line to an alignment or profile entity.

To create an AutoCAD line by best fit from AutoCAD points

  1. If you are creating a best fit line for a profile, set the profile view style vertical exaggeration to 1. See To Work With Profile View Styles for more information.
  2. Click Home tab Draw panel Best Fit drop-down Create Best Fit Line Find.
  3. In the Line By Best Fit dialog box, select From AutoCAD Points.
  4. Select two or more AutoCAD points.

    As you select points in the drawing window, a white X marks each regression point and a temporary, dashed line is displayed in real time.

  5. Press Enter to complete the command.
  6. In the Panorama window, use the Regression Data vista to make changes to the regression points.

    As you highlight a row in the Regression Data vista, the corresponding regression point in the drawing window will be highlighted in red.

    Note:

    When the AutoCAD line is created, it will not retain any link to the regression points.

  7. Create the AutoCAD line:
    • Click to create the line and keep the regression data. You may then use the data as a basis to create more lines.
    • Click to create the line, clear the regression data, and close the Regression Data vista.
  8. If desired, convert the AutoCAD line to an alignment or profile entity.

To create an AutoCAD line by best fit from existing entities

  1. If you are creating a best fit line for a profile, set the profile view style vertical exaggeration to 1. See To Work With Profile View Styles for more information.
  2. Click Home tab Draw panel Best Fit drop-down Create Best Fit Line Find.
  3. In the Line By Best Fit dialog box, select From Entities. Specify the tessellation and mid-ordinate tolerance settings.
  4. Select one or more of the entities listed at the command line.
    Note: You may select several types of entities listed at the command line.

    As you select entities in the drawing window, a white X marks each regression point and a temporary, dashed line is displayed in real time.

  5. If you selected a profile object, specify the starting and ending station on the Specify Station Range dialog box.
  6. Press Enter to complete the command.
  7. In the Panorama window, use the Regression Data vista to make changes to the regression points.

    As you highlight a row in the Regression Data vista, the corresponding regression point in the drawing window will be highlighted in red.

    Note: When the AutoCAD line is created, it will not retain any link to the regression points.
  8. Create the AutoCAD line:
    • Click to create the line and keep the regression data. You may then use the data as a basis to create more lines.
    • Click to create the line, clear the regression data, and close the Regression Data vista.
  9. If desired, convert the AutoCAD line to an alignment or profile entity.

To create an AutoCAD line by best fit by clicking on screen

  1. If you are creating a best fit line for a profile, set the profile view style vertical exaggeration to 1. See To Work With Profile View Styles for more information.
  2. Click Home tab Draw panel Best Fit drop-down Create Best Fit Line Find.
  3. In the Line By Best Fit dialog box, select By Clicking On The Screen.
  4. Select a starting point and at least one other point.
    Note: You may use OSNAP or transparent commands to select points.

    As you select points in the drawing window, a white X marks each regression point and a temporary, dashed line is displayed in real time.

  5. Press Enter to complete the command.
  6. In the Panorama window, use the Regression Data vista to make changes to the regression points.

    As you highlight a row in the Regression Data vista, the corresponding regression point in the drawing window will be highlighted in red.

    Note: When the AutoCAD line is created, it will not retain any link to the regression points.
  7. Create the AutoCAD line:
    • Click to create the line and keep the regression data. You may then use the data as a basis to create more lines.
    • Click to create the line, clear the regression data, and close the Regression Data vista.
  8. If desired, convert the AutoCAD line to an alignment or profile entity.