Displaying AutoCAD Text Annotations and Adjusting Values

AutoCAD file text annotations can be imported into InfoWorks ICM and displayed on the GeoPlan. Such annotations may contain precise information on the location of network objects in relation to buildings or other structures / assets and therefore be very useful for maintenance or repair purposes.

To display AutoCAD text annotations and subsequently adjust the distances:

  1. Open the network to be updated.
  2. Select Import | Import data from Autocad DWG from the Network menu. This displays the Import from AutoCAD dialog.
  3. Import the desired AutoCAD file(s) as described in the Importing from AutoCAD DWG topic. Important points are as follows:
    1. Select General Line in the Lines / Polygons column for the layers containing the text annotations.
    2. Select Length in the Import text into box. This specifies that the text should be imported into the length field of the General Line objects.
    3. Click OK.
  4. ClosedShow me

    Importing from AutoCAD

  5. The AutoCAD data including the text annotations has now been imported. To display the text annotations on the GeoPlan:
    1. Right-click on the GeoPlan Window and select Properties & Themes from the context menu.
    2. On the Auto Labels and Tooltips page, check Rotate Link Labels, and for Label Field, choose the User option.
    3. ClosedShow me

      Setting up Autolabels

    4. Click Apply.
    5. Click the Layers and Themes page of the GeoPlan Properties dialog.
    6. Check AutoLabel for the General line object then click Cutomise.
    7. ClosedShow me

      Setting up Autolabels

  6. Set the label text to display the length field. This is done by using a custom autolabel. In the Custom Autolabels Text dialog that gets displayed:
    1. Select General line in the Object Type list.
    2. Select length (Length) in the Field list.
    3. Click Insert Field button to add {length} to the Label Text box.
    4. ClosedShow me

      Custom Autolabels Text dialog

    5. At this stage, it is possible to choose a visible range for this custom autolabel as well as define font family and size as well as label behaviour. Refer to the Custom Autolabels Text dialog topic for further details.
    6. Click OK in both dialogs to save the changes and close them.
  7. The text annotations are now displayed on the GeoPlan, as shown in the screenshot below. At the top, the GeoPlan is showing general lines with length values, which correspond to the annotations of the DWG file below.

    ClosedShow me

    Text annotations shown on the GeoPlan

    GIS layers can be displayed on the GeoPlan so the view can be very similar to the contents of the AutoCAD file. It is possible to print the GeoPlan or take a screenshot of it.

  8. If some of the measurements are proven incorrect, use the Make Measured Length tool (Make Measured Length tool) from the More GeoPlan Tools toolbar to adjust them. This tool allows the geometry of a line to be adjusted so it matches the length field.

    The general line field containing the text annotation (Length in our case) can have a data flag associated to it. This can be done at import time by assigning a user-defined flag to the imported data or at a later date. Assigning the #D flag to that field will have an opposite effect to that of the Make Measured Length tool, i.e. it will make the measurement match the line geometry.

  9. Select the tool and click the general line to be adjusted. The adjustment is implemented on the extremity of the line that has been clicked.

    The following example shows a line to be shortened (single line at the top, with an imported length of 8 m) and a line to be lengthened (single line at the bottom, with an imported length of 12 m). The red arrows show where the lines have been clicked on.


Example of adjustments that can be made with the Make Measured Length tool

Importing from AutoCAD DWG

Import from AutoCAD Dialog

Data Flags

Setting Default Values

Custom Autolabels Text Dialog