skip navigation Official NH Website
MX Macro Index

PRELSECT Macro

 

back arrowBack

Metric Sample

MOSS
    SECTION DRAW FILE 11/00
    **US RTE. 302**
MOSS
NEWDPF,PSECTMC1M
DRAW,PSECTMC1M,PDESIGN
900,PRELSECT
FD='',HS=100,VS=100,LR=MC1M,CS=E,PS='',FS=D,
PROJ='HARTS PDESIGN',TITLE='US RTE. 302',IN=10,
LV='',GBK='',AD=ABS,OL=-30,OR=30,XS=11400,XE=11620,
YT=3,TR=TRUN,SL=140,SW=85,YO=3
806,RED
808,4=.1
868,X,4=5,11400,,.5,11620,,270
999
DISPLAY

 

Imperial Sample

MOSS

   EASTON-WOODSTOCK 12971

NEWDPF,PSECTMA02
DRAW,PSECTMA02,PALIGN
900,PRELSECT
FD='',HS=10,VS=10,LR=MA02,CS=E,FS=D,PS='',
IN=50,GBK='',TR=TRUN,SL=400,SW=32.5,
ML=1,MR=1,MT=1,MB=1,CSC=CYAN,TITLE='NH 112',
PROJ='EASTON-WOODSTOCK',XS=126300,XE=127300,LV=''
805,RED
806,RED
868,D,4=5,126300,,.5,127300,,270
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

FD

OD

SL

SW

FR

ML

MB

MR

MT

HS

VS

PA

HD

VD

UD

Description

Alt.

Default

Indicates that this is the first drawing on a sheet '' 000
This drawing is to be overplotted on the previous drawing '' 000
Note: Either FD or OD must be set to ''
Sheet length (inches/cm) PV 36/100
Sheet width (inches/cm) PV 24/85
Frame FRAM NOFR
Left margin (in/cm) PV 1/2
Bottom margin (in/cm) PV 1/2
Right margin (in/cm) PV 1/2
Top margin (in/cm) PV 1/2
Horizontal scale (in:ft/m:m) PV ---
Vertical scale (in:ft/m:m) PV ---
Paged or non-paged drawing NOPA PAGE
Horizontal dist. between sections (in/cm) PV 1/2.5
Vertical distance between sections (in/cm) PV 1/2.5
Direction of station increment DOWN UP

 

Model Details: Existing Strings

       
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 section and the left edge of the grid in the model's units PV ''
YO Displacement between the bottom most point of the section 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 section 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 section
NOTE: When using VDL also include YO=''
PV lowest point
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

Section Placement And Annotation

NR

NC

TC

TS

STS

PROJ

TITLE

YO

YT

VDL

AD

 

OL

OR

   

OL

OR

Number of rows of sections per sheet PV 20
Number of columns of sections per sheet PV 20
Text color CV BLAC
Level text size PV .09/.23
Station text size PV .25/.65
Project identification annotation CV ''
Title option CV ''
Displacement between the bottom most point of the section string and the bottom of the grid in the models units (cannot be used if VDL is defined). PV 20/5
Displacement between the top most point of the section string and the top of the grid in the models units PV 10/4
Datum level (can't be used if YO is defined) on section PV lowest pt.
Specify width of section as offset from centerline (ABS) or offset from first and last point on section (ADD). ADD ABS
If AD=ABS then:    
Maximum offset left of centerline. NV -105/-35
Maximum offset right of centerline. PV 105/35
If AD=ADD then:    
( The values of 'OL' and 'OR' MUST be changed! )    
Absolute value of offset to be applied to the left of the leftmost point on each section. PV 105/35
Absolute value of offset to be applied to the right of the rightmost point on each section. PV 105/35

 

MODEL DETAILS: EXISTING STRINGS

LR

XS and/or YS

 
Reference string on which sections are based (MUST BE IN SECTION OR REFERENCE MODEL) CV ---
CS Initial character of cross-section set CV ---
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.
IN Station interval at which sections are to be drawn PV ''
LV Draw the centre line level annotation '' 000
NOTE: Elevation extracted from the REFERENCE string LR not from the section    
CSC Line color of first section set and station annotation CV Blue

 

MODEL DETAILS: PROPOSED STRINGS

PS

Option to draw proposed section string(default, off) '' 000
FS Initial character of proposed section strings to be drawn CV ''
L Option to annotate the proposed section with labels of points intersected by sections '' 000
FSC Line color of proposed section string CV BLAC

 

MODEL DETAILS: EXTRA FEATURES

 

XSD Add detail strings created by XSDETAIL UPM '' 000

 

MAJOR GRID VARIABLES:

 

000

''

GR

HG

10/2

  

WI

GTC

G Grid option (default, grid on)
Grid type NOGR/EDGE/CROS FULL
Horizontal grid interval (ft/m) PV 10/2
YG Vertical grid interval (ft/m) PV
  NOTE: Only positive values for 'HG' and 'YG' will be accepted.
Option to draw a window around each section (default, on) 000 ''
Grid text color CV BLAC

 

 

MINOR GRID VARIABLES:

'' 

CYAN

GBK

Background grid option (default, grid on) 000
 

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

   
GBI Background grid interval NV -1/-0.2
  NOTE: The value of 'GBI' should always be negative.    
GBKC Background grid color CV

 

ODD STATIONED SECTIONS AT FIXED INTERVAL :

OS Option to specify reference interval from which intervals are measured '' 000
RIN Reference Interval PV 100

 

NOTE: Sections will be drawn at a station only if that station minus the Reference interval is a multiple of the specified stationing interval (i.e. IN ).

Example: Without the OS option, incremental odd stations cannot be drawn.

I.E with XS= 3+00 , XE= 9+00 , IN= 200 ; sections will be drawn at 3+00 , 4+00 , 6+00 etc. BUT with XS= 3+00 , XE= 9+00 , IN= 200 , OS= '' , RIN= 100 sections will be drawn at 3+00 , 5+00 , 7+00 etc. (because STA - 'RIN' is a multiple of 'IN' [ 5+00 - 100 = 4+00])

 

Default variables defined in this MACRO are appropriate for plotting sections at 1" = 10' for Imperial projects and 1:100 for metric. Listed below are suggested variables to use for 1" = 5' (1:50) scale plots.

Imperial: HS=5, VS=5, HG=5, YG=5, YO=10, YT=5, GBI=0.5
Metric: HS=50,VS=50,HG=1,YG=1, YO=2, YT=1, GBI=-0.1