Smaller text size Reset text size Larger text size
skip navigation
NHDOT Home CAD/D Home MicroStation MX v8i Downloads
CAD/D Home > MX v8i > Sample XS-MS Macro Input File v8i

Notable changes for v8i

The variables HS and VS are discontinued.  Cross Section scales are now controlled in the project's configuration file (PCF) for MicroStation drawings.  In the project's PCF, set the variable NH_XSSCALE=10 (or NH_XSSCALE=5 for 5 scale).

Specify a .DPW instead of .DPF.  This causes MicroStation to create a Design model and not a MicroStation Sheet model.  If you specify .DPW, you will need to change the MicroStation model property type from a Sheet model to a Design model after the drawing is created.  While in MX, this drawing should be treated the same as any other .DPF drawing.

Always Export the MX drawing to Native format prior to working in MicroStation. A bug in the current version of MX causes problems in MicroStation when working on MX drawings. Using the "Export Native" command resolves that problem.

Refer to MX Drawing File Summary for a breakdown of drawing input files.

Metric samples have not been updated to v8i.

Before you begin

Check the project's MX directory for a file with the project name followed by a .mss extension.  If this file does not exist, see a member of the CAD/D support staff before continuing this procedure.  If it does exist, open the file with PFE or Notepad to verify it is correct.  It should include the following settings:

Imperial Version
[SEED_FILES]
MX_MODEL_SEED=nhseedf2.dgn
MX_DRAWING_SEED=nhseedf2.dgn
MX_CELLSEED=exist-in.cel

Metric Version
[SEED_FILES]
MX_MODEL_SEED=nhseedm2.dgn
MX_DRAWING_SEED=nhseedm2.dgn
MX_CELLSEED=exist-in.cel

 


Back to previous page

MOSS
   IMPERIAL 10-scale CROSS-SECTIONS
     01-2012, compiled by yourself

   *** NH ROUTE ## ***

NEWDPF,DRAW.DPW
SUBS
SYSDEL,12345XSMCFM.DPW
SYSDEL,12345XSMCFM.DGN
999
NEWDPF,12345XSMCFM.DPW

DRAW,FSECT MCFM,FDESIGN MCFM
900,XS-MS
FD='',LR=MCFM,CS=E,FS=D,PS='',
DS='',DSL=E,PROJ=12345,XSD='',
TITLE='NH Route ###',XS=50020,XE=50230

   Additional lines for Subgrade, General & Temporary sections
805,YELL
810,DASH,5=.3,.1,,.1,.1
826,F,5=50020,8=50230
826,Y,5=50020,8=50230
826,Z,5=50020,8=50230

999
DISPLAY
FINISH

Note: To plot 10-scale sections with the horizontal border, include the following variables in addition to the ones shown above:

sw=21,hd=4,vd=2,ml=2.4,mb=1.2


MOSS
   IMPERIAL 5-scale CROSS-SECTIONS
     01-2012, compiled by yourself


   *** NH ROUTE ## ***

NEWDPF,DRAW.DPW
SUBS
SYSDEL,12345XSMCFM.DPW
SYSDEL,12345XSMCFM.DGN
999
NEWDPF,12345XSMCFM.DPW

DRAW,FSECT MCFM,FDESIGN MCFM
900,XS-MS
FD='',LR=MCFM,CS=E,FS=D,PS='',
DS='',DSL=E,PROJ=12345,XSD='',
TITLE='NH Route ###',XS=50020,XE=50230,
sw=110,hd=20,vd=2,yt=10,yo=9,ol=-75,or=75,
hg=5,yg=5,gbi=-0.5,ml=14.4,mb=1.2

   Additional lines for Subgrade, General & Temporary sections
805,YELL
810,DASH,5=.3,.1,,.1,.1
826,F,5=50020,8=50230
826,Y,5=50020,8=50230
826,Z,5=50020,8=50230

999
DISPLAY
FINISH

*All variables shown in lower case are in addition to the normal ones used.  These must be added for proper formatting of the wider sheet.

Note: The values of YO & YT may need to be increased in particularly flat areas.


METRIC NOT YET DEVELOPED

MOSS
   METRIC 100-scale CROSS-SECTIONS
     Preferred Scale of ACEC, 6-2004

   *** NH ROUTE ## ***
NEWDPF,12345X01.DPW
DRAW,FSECT MCFM,FDESIGN MCFM
900,XS-MS
FD='',HS=100,VS=100,LR=MCFM,CS=E,
PS='',FS=D,DS='',DSL=E,PROJ=12345,
TITLE='NH Route ###',XS=50020,XE=50230

   Additional lines for Subgrade, General & Temporary sections
805,YELL
810,DASH,5=.3,.1,,.1,.1
826,F,5=50020,8=50230

826,Y,5=50020,8=50230
826,Z,5=50020,8=50230

999
DISPLAY
FINISH

Note: To plot 100-scale sections with the horizontal border, include the following variables in addition to the ones shown above:

sw=53,hd=10.36,ml=7.6,mb=3

Note: On May 14, 2004, the default minor grid size for metric drawings was changed from 0.2 to 0.4. If you need the 0.2m spacing, you must include GBI=-0.2 in your input file.



METRIC NOT YET DEVELOPED

MOSS
   METRIC 50-scale CROSS-SECTIONS

   *** NH ROUTE ## ***
NEWDPF,12345X01.DPW
DRAW,FSECT MCFM,FDESIGN MCFM
900,XS-MS
FD='',HS=50,VS=50,LR=MCFM,CS=E,
PS='',FS=D,DS='',DSL=E,PROJ=12345,
TITLE='NH Route ###',XS=50020,XE=50230,
sw=53,hd=10.36,yt=1,yo=2,ol=-19,or=19,
hg=1,yg=1,gbi=-0.1,ml=7.6,mb=3

   Additional lines for Subgrade, General & Temporary sections
805,YELL
810,DASH,5=.3,.1,,.1,.1
826,F,5=50020,8=50230
826,Y,5=50020,8=50230
826,Z,5=50020,8=50230

999
DISPLAY
FINISH

Variables

Required variables are shown in bold.  Default values will be shown in red.        For Green variables, using values other than those in the above examples will adversely affect border placement once in MicroStation.
Note: There are undocumented variables included within this macro that can alter the color of items being displayed.  They are not intended to be used when creating drawings for MicroStation. DO NOT adjust any of these colors if the drawing is to be transferred to MicroStation.
FD Indicates that this is the first drawing on a sheet
FD=000 will not draw
FD='' will draw
HS Horizontal scale discontinued for v8i
VS Vertical scale discontinued for v8i
LR Reference string label
CS First character of existing ground sections
FS First character of proposed ground sections
IN Station interval for sections
Default is every station
PS Option to draw proposed sections.
PS=000 will not draw proposed
PS='' will draw proposed
XS Start station
Leave out for start of alignment
XE End station
Leave out for end of alignment
DS Option to draw detail labels. DSL must also be defined.
DS=000 will not draw labels
DS='' will draw labels
DSL First character of sections strings cut over existing detail. These are used to display feature labels on the section drawing.
This could be the same as CS or another section set
Also set DS='' to display these labels
XSD Add utility and tree symbols. Section sets for these items must be created for these features. For more details see Adding Details to Cross Sections
XSD=000 will not draw the detail objects
XSD='' will enable this feature
YT Displacement between the top most point of the section and the top of the grid in the model's units per the number of strings
YT=10m (20')
YO Displacement between the bottom most point of the section and the bottom of the grid in the model's units
YO=10m (30')
PROJ Project identification number annotation
TITLE Title annotation
SL Sheet length
SW Sheet width
HD Horizontal distance between sections. This value may need to be adjusted if sections are not drawn at the maximum
VD Vertical distance between sections
MB/MT Margin bottom / Margin top
ML/MR Margin left / Margin right
OL/OR Maximum offset left of centerline / Maximum offset right of centerline
HG Horizontal grid interval
YG Vertical grid interval
GBK Minor grid option
GBK=000 Grid off
GBK='' grid on
GBI Minor grid interval
SU Superelevation text (will not display if PS=000)
SU=000 Superelevation off
SU='' Superelevation on
 

Back to previous page




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

copyright 2014. State of New Hampshire