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

PRELPROF Macro

A drawing file is an input file used to generate an MX Drawing File (either a DPF or a DPW). The Programmer's File Editor (PFE) is the preferred tool for creating and editing MX input files. All workstations loaded with MX should have a PFE icon on their desktop. Once a Drawing file is compiled, it needs to be input in MX from the File menu.

Imperial Sample

MOSS
NEWDPF,PROFMCBM
Profile for NH 121 mainline 12-99 wsc
DRAW,PDESIGN MCBM
900,PRELPROF
FD='',HS=50,VS=10,LR=MCBM,LB=OCBM,
TITLE='N H RTE 121',GBK='',
PROJ='PLAISTOW 12359',SL=400,SW=35,
EE='',LRP=MCBM,LBP=MCBM
999
display

Metric Sample

MOSS
NEWDPF,PROFMCBM
Profile for NH 121 mainline 12-99 wsc
DRAW,PDESIGN MCBM
900,PRELPROF
FD='',HS=500,VS=100,LR=MCBM,LB=OCBM,
TITLE='N H RTE 121',GBK='',
PROJ='PLAISTOW 12359',SL=1000,SW=85,
EE='',LRP=MCBM,LBP=MCBM
999
display

Note: All strings to be drawn must be in the SAME MODEL and created from identical reference strings!

Variables

Metric values are shown in italics
Required variables are HS, VS, LR and LB (shown in bold).
PV = Positive value
NV = Numeric value
CV = Character value

Sheet Details
Input Data Description Alt. Default
FD Indicates that this is the first drawing on a sheet '' 000
OD This drawing is to be overplotted on the previous drawing '' 000
SL Sheet length (inches/cm) PV 36/100
SW Sheet width (inches/cm) PV 24/85
FR Frame FRAM NOFR
TR Truncate the drawing NOTR TRUN
ML Left margin (in/cm) PV 1/2
MB Bottom margin (in/cm) PV 1/2
MR Right margin (in/cm) PV 1/2
MT Top margin (in/cm) PV 1/2
LE Length of profile to be drawn on each page PV ''
HS Horizontal scale (in:ft/m:m) PV ---
VS Vertical scale (in:ft/m:m) PV ---
XS and/or YS Start point on reference string (S.P.R.D.) PV 1st pt.
XE and/or YE End point on reference string (S.P.R.D.) PV last pt.
XO Displacement between the left most point of the profile and the left edge of the grid in the model's units PV ''
YO Displacement between the bottom most point of the profile and the bottom of the grid in the model's units PV 30/10
  NOTE : Specify either (XO, YO) or (HDL, VDL).  
YT Displacement between the top most point of the profile and the top of the grid in the model's units per the number of strings PV 20/10
HDL Horizontal datum on line PV 1st point
VDL Vertical datum level on profile NOTE: When using VDL also include YO='' PV lowest point
VDT Vertical datum reference NAVD88 NGVD29
DAT Datum level option 000 ''
PA Paged or non-paged drawing PAGE NOPA
TITLE Title option CV ''
PROJ Project identification annotation CV ''
TS Text size for both 'TITLE' & 'PROJ' (in/cm) PV 0.45/1
BW Force colors for black & white plotting from MX Do not use this option if the drawing is to be transferred to MicroStation '' 000

 

Major Grid Variables
Input Data Description Alt. Default
G Grid option (default ON) 000 ''
GC Grid color CV Grey
GTC Grid text color CV Blac
HG Horizontal grid interval (ft/m) NV -50/-20
YG Vertical grid interval (ft/m) NV 10/2

 

Minor Grid Variables
Input Data Description Alt. Default
GBK Background grid option
NOTE: Use GBK=000 when you want to display the profile at the terminal.
000 ''
GBKC Background grid color CV Blac
HBG Horiz. background grid interval (ft/m) NV -5/-2
YBG Vert. background grid interval (ft/m)
NOTE: Negative values for 'HG', 'YG', 'HBG', 'YBG' will produce grids without numerical annotation.
NV -1/-0.4

 

Model Details
Input Data Description Alt. Default
LR Reference string CV ---
LB String to be drawn CV ---
LC Line color CV Blac
DPE Num. of dec. places for existing elevations PV 1/2
EIN Elevation annotation interval (ft/m) PV 50/20

 

Stationing
Input Data Description Alt. Default
M Option to add station annotation to master alignment strings 000 ''
MIN Stationing annotation interval (ft/m) PV 100
MM Option to add major station annotation. (Interval defined by MINM) '' 000
MINM Major stationing annotation interval (ft/m) PV 500

 

Proposed Profile
Input Data Description Alt. Default
EE Option to overplot and annotate a proposed profile
NOTE: If 'EE' is set to '', then 'LBP' and 'LRP' must be defined. To plot the second string (LBP) without elevations add a line using minor option 826 after the variables in the input file and do not define the variable 'EE'.
'' 000
LRP Reference string of proposed profile CV ''
LBP Label of proposed profile string
NOTE: String 'LBP' will only be drawn if EE=''.
CV ''
LCP Line color for proposed profile CV Green
DPP Number of decimal places for proposed elevations PV 2/3

 

 

Alignments with Odd Beginning Stations
Input Data Description Alt. Default
OS Option to specify reference interval from which intervals are measured (default OFF) '' 000
RIN Reference Interval PV 500

NOTE: Annotation will occur at a station only if that station minus the Reference interval is a multiple of the annotation intervals (i.e. EIN, MIN, MINM). Because of this calculation the annotation interval should be specified to a whole number (i.e 50, 100, 500).

EX Prob: Begin station = 9+66; station annotation = 10+75, 11+75, 12+75, etc.
With OS='', RIN = 100 and MIN = 100 annotation = 10+00, 11+00, 12+00, etc.

Input Data Description Alt. Default
GS Option to add annotation from the geometry string (if alignment was generated through MOSS interactive alignment) '' 000
GL Label of geometry string to be plotted
NOTE: Geometry annotation will only be drawn if GS=''.
CV ''
HCD Option to add horizontal curve data 000 ''
HCS Option to add horizontal curve stationing (imbedded in curve data box) 000 ''
VCD Option to add vertical curve data 000 ''
VA Vertical Annotation type code (flat pts.) (intersect pts.) VFPS VIPS

When plotting a profile at a scale other than 1:500 (1" = 50'), it is recommended that you change some of the grid and scale variables. Listed below are suggested variables to use for both 20 scale imperial and 250 scale metric plots.

20 SCALE: 1:250 SCALE:
HS=20,VS=4,YG=4,YBG=-0.4 HS=250,VS=50,YG=1,YBG=-0.1

 


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