Exercise 5: Setting Up a Linework Code Set

In this exercise, you will learn how to set up a linework code set to interpret the field codes that the survey field crew enters into a data collector.

When field-coded data is imported into Autodesk Civil 3D, the linework code set interprets the syntax of simple field codes that are contained within survey point descriptions. The linework is connected between similar points. You will use a linework code set to define linework from imported survey data in the Importing Field-Coded Survey Data exercise.

This exercise continues from Exercise 4: Setting Survey Styles.

Examine the default linework code set

  1. In Windows Explorer, navigate to the tutorial folder. Open Survey-1.fbk using a text editor.
  2. In Windows Explorer, navigate to the tutorial folder. Open Survey-X.fbk using a text editor.
  3. In the text editor, for Survey-X.fbk, highlight the 34th and 35th lines, which contain the following code:
    BEGIN TC1
    FC1 VA 105 19.192302 57.714     88.440647 "TC1"
    
  4. In the text editor, for Survey-1.fbk, highlight the 24th line, which contains the following code:
    FC1 VA 105 19.192302 57.714  88.440647 "TC1 B H0.5 H-0.1 V-0.5"
    
  5. In Toolspace, on the Survey tab, expand the Linework Code Sets collection. Right-click Sample. Click Properties.

    The field codes for the Sample linework code set are displayed in the Linework Code Set dialog box. Each property has a user-definable code assigned to it. Compare the codes with the line you selected in the text editor.

    The selected lines define the beginning of a top of curb figure:

    • In Survey-X.fbk, the selected lines consist of the feature code (BEGIN TC1), FC1 VA 105 horizontal angle, slope distance, zenith angle, and description. The point description contains the raw point description (TC1) and XYZ coordinates.
    • In Survey-1.fbk, the selected line contains information that is similar to Survey-X.fbk. Notice that horizontal and vertical offset values are also present. If you examine the remainder of the files, you will see that the format used by Survey-1.fbk is simpler and more flexible than Survey-X.fbk.

    Compare the characters in Survey-1.fbk to the values in the Linework Code Set dialog box. Under Special Codes, notice the codes that are defined for Begin, Horizontal Offset, and Vertical Offset. Each of these codes is displayed in the currently selected line. The current linework code set will interpret this survey point as being the beginning of the survey TC1 figure, with two horizontal offsets and one vertical offset.

  6. Close the text editors and Linework Code Set dialog box.

To continue to the next tutorial, go to Importing Survey Data.