Smaller text size Reset text size Larger text size
skip navigation
NHDOT Home CAD/D Home MicroStation MX v8i OpenRoads Downloads
CAD/D Home > MX v8i > PRELPROF Macro v8i

PRELPROF Macro v8i
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.

Return to Previous Page

MX Macro Index

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


Metric values are shown in italics

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

Default values will be shown in red.
Required variables are shown in bold.
PV = Positive value
NV = Negative value
CV = Character value

 

Variables

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

000

''

 

NOTE: Use GBK=000 when you want to display the profile at the terminal.

 

GBKC

Background grid color

CV

Blac

HBG

Horiz. background grid interval (ft/m)

NV

-5/-2

YBG

Vert. background grid interval (ft/m)

NV

-1/-0.4

 

NOTE: Negative values for 'HG', 'YG', 'HBG', 'YBG' will produce grids without numerical annotation.

 

 

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

''

000

 

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'.

 

LRP

Reference string of proposed profile

CV

''

LBP

Label of proposed profile string

CV

''

 

NOTE: String 'LBP' will only be drawn if EE=''.

 

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.

 

GEOMETRY STRING ANNOTATION:

NOTE: The options below are for annotating profiles with this macro alone. Consult the documentation for profile annotation utilizing the UPM program.

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

CV

''

 

NOTE: Geometry annotation will only be drawn if GS=''.

 

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

* - Required information

CV - Character variable
PV - Positive value
NV - Numeric value

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

copyright 2014. State of New Hampshire