Sample XS-MS Macro Input File
MOSS
IMPERIAL 10-scale CROSS-SECTIONS
Preferred Scale of ACEC, 6-2004
*** NH ROUTE ## ***
NEWDPF,12345X01.DPF
DRAW,FSECT MCFM,FDESIGN MCFM
900,XS-MS
FD='',HS=10,VS=10,LR=MCFM,CS=E,
IN=.1,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 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
*** NH ROUTE ## ***
NEWDPF,12345X01.DPF
DRAW,FSECT MCFM,FDESIGN MCFM
900,XS-MS
FD='',HS=5,VS=5,LR=MCFM,CS=E,
IN=.1,PS='',FS=D,DS='',DSL=E,PROJ=12345,
TITLE='NH Route ###',XS=50020,XE=50230,
sw=21,hd=4,vd=2,yt=5,yo=10,ol=-75,or=75,
hg=5,yg=5,gbi=-0.5,ml=2.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.
MOSS
METRIC 100-scale
CROSS-SECTIONS
Preferred Scale of ACEC, 6-2004
*** NH ROUTE ## ***
NEWDPF,12345X01.DPF
DRAW,FSECT MCFM,FDESIGN MCFM
900,XS-MS
FD='',HS=100,VS=100,LR=MCFM,CS=E,
IN=.1,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.
MOSS
METRIC 50-scale CROSS-SECTIONS
*** NH ROUTE ## ***
NEWDPF,12345X01.DPF
DRAW,FSECT MCFM,FDESIGN MCFM
900,XS-MS
FD='',HS=50,VS=50,LR=MCFM,CS=E,
IN=.1,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 |
| VS | Vertical scale |
| 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 |