Website Name - an official New Hampshire Government website
Smaller text size Reset text size Larger text size
link to website translation page
CAD/D HomeMicroStationMXOpenRoadsDownloadsSearchNHDOT Homelink to website translation page

Transferring MX Cross Sections to MicroStation

This page will explain the process of creating a MicroStation cross section drawing from MX data. It is a continuation of Creating MX Cross Sections.

Drawing the Cross Sections in MX

  • In MX, set the style and feature sets for the cross section model to XSU.
  • If you want the section to show details such as trees, poles, & hydrants, read Adding Details to Cross Sections before continuing. If this step was not done prior to cutting sections, then more sectioning will be necessary to capture these features.
  • If you want to include Right-of-Way information on the sections, read Transferring MicroStation Right-of-Way Lines to MX before continuing.
  • If you want to include wetland information on the sections, read Transferring MicroStation Environmental Lines to MX before continuing.
  • Create a drawing input file using the XS-MS Macro to draw the sections. Specify a new DPW file with the project number followed by "XS" (i.e. 12345XS_MCxx.DPW).
  • From the File menu, select Export > Native. A new MicroStation drawing is generated with the same name as the current drawing but appended with the word Native. If there is more than one sheet on the DPW, then each sheet will require a separate Export > Native.
  • Exit MX.

Cross Section Scales

In 2004 an ACEC committee recommended that cross sections be at 10-scale (or 1:100 for metric) for all projects. The XSEdit program described below, assumes that is the case with your project. You can override it in your project's PCF file by setting the NH_XSSCALE variable to the desired scale. Typically, this would be NH_XSSCALE=5 for 5-scale Imperial cross sections or NH_XSSCALE=50 for metric 1:50 scale sections.

Open the MicroStation Drawing

Enter MicroStation, select the appropriate project and new MicroStation drawing just exported (Native) from MX.

Levels need to be created from the appropriate level library. From the Level Manager dialog box, select Levels > Import... to obtain the Import Levels panel. Choose the XSU.csv level library.

level manager dialog box

Next, click on the Update Levels button (the 3rd button), this will set the correct default values for each level in the drawing.

The XSedit Program

Run the XS_EDIT macro. (Utilities > Macro > Macros > modEdG.XSEdit). If modEdG.XSEdit is not on the list of available programs, then the nhdot.mvba file is not loaded. Open the VBA Project Manager (Utilities > Macro > Project Manager) and load nhdot.mvba.

This will make some graphical edits and correct some incorrect levels and line weights. This macro will also replace MX detail string labels on the section drawings with the appropriate text. For example EP01 will become E.P. and WL1R will be Woods and so on. It also creates graphic groups for each section, adds tag data to selected elements, and corrects the level of detail symbols.

If you receive an error message that includes "Error: 2002", there may be a problem with the seed file used to create the drawing. It usually means the tag sets are not defined in the file. See an application engineer.

At this point the drawing is ready to be worked on in MicroStation.


For information about working on the cross section drawings, see Working With MicroStation Cross Sections.

New Hampshire Department of Transportation
PO Box 483  |  7 Hazen Drive  |  
Concord, NH  |  03302-0483
Tel: 603.271.3734  |  Fax: 603.271.3914