Exercise 4: Importing Points with User-Defined Properties

In this exercise, you will create a custom point file format, and then import point information that includes user-defined properties from an external file.

This exercise continues from Exercise 3: Assigning User-Defined Properties to Points.

Create a point file format for importing user-defined properties

  1. Open Points-4d.dwg, which is located in the tutorials drawings folder.
  2. In Toolspace, on the Settings tab, expand the Point collection. Right-click Point File Formats. Click New.
  3. In the Point File Formats – Select Format Type dialog box, select User Point File. Click OK.
  4. In the Point File Format dialog box, specify the following properties:
    • Format Name: Manhole Data
    • Comment Tag: #
    • Format Options: Delimited By
    • Delimited By: , (a comma)
  5. In the table of column names, click the first column heading (labeled <unused>).
  6. In the Point File Formats – Select Column Name dialog box, in the Column Name list, select Point Number. Click OK.
  7. Repeat steps 5 and 6 to name additional columns using the following values:
    • Column 2: MH_Material
    • Column 3: MH_Diameter
    • Column 4: MH_Pipe In Invert
    • Column 5: MH_Pipe In Diameter
    • Column 6: MH_Pipe In Material
    • Column 7: MH_Pipe Out Invert
    • Column 8: MH_Pipe Out Diameter
    • Column 9: MH_Pipe Out Material
  8. Click OK.

Import user-defined property data from a text file

  1. In Toolspace, on the Prospector tab, ensure that the Point Groups collection is expanded, and select the Storm Manholes group.

    In the item view, note that this group contains only nine points, and some of the data columns are blank.

  2. In Toolspace, on the Prospector tab, right-click Points. Click Create.
  3. In the Create Points dialog box, click Import Points.
  4. In the Import Points dialog box, in the Format list, select Manhole Data.
  5. Click . Browse to the tutorial folder. Select manhole_data.txt. Click Open.
  6. Click OK.
  7. In the Duplicate Point Number dialog box, in the Resolution list, select Merge. Click OK.

    The point data is imported.

  8. On the Prospector tab, click the Storm Manholes point group.

    The point data from the file import is displayed in the item view, including specific values for manhole data.

  9. Close the Create Points dialog box.

To continue this tutorial, go to Exercise 5: Querying User-Defined Property Information.