Draw Stepped Long Sections Through Input Files in MXRoad

Hello Community!

Can somebody show me the minor option that controls the distance between top of annotation boxes area (Level Datum) and the lowest section string points in drawing stepped long sections.

Thanx!

Parents
  • Hi Addis

    Below is some inforamion on creating stepped longsections using linemode.

    The following example draws a stepped long section on an A0 sheet. The margins are all 5cm except for the top margin which is 50cm (this leaves room at the top of the sheet for another drawing). The scale is 1:100 horizontally and 1:10 vertically.

    The stepped long section has steps occurring at the nearest string point before the intersection with the drawing window. Each sheet contains 100m of section.

    DRAW,LONGSECTIONS MODEL

    800,4=1,5=0

    802,5=5,5,,5,50

    803,LONG,,NOTR,7=100,10=10

    804,STEP,POIN,MAST,100

    826,MAST

    826,LSEC

    845,LBLB,CC,DT,6=-6,6,9=0,1.0

    848,MAST,,DV,7=-9

    847,*,,DT,10=0.0

    001,Datum = &DV&m.

    999

    Further details on the linemode code for stepped longsection can be found in the MX Help file under

    MXRoad>Reference>Linemode>Draw>Drawing Profile Schematics>803 Define Page and Scale.

    Regards

    Jason Walsh



  • Hello Jason.

    First, thank you for the reply.

    I think I coded all the minor options that you posted. my input file looks like:

    DELETE,LONGSECTION

    CREATE,LONGSECTION

    999

    AUTODRAW,OFF

    SECTION,TRIA,DESIGN

    SECTION,LONGSECTION

    177,MC00,2=TX00,3=LZ00,5=7500,8=9000

    999

    COPY,DESIGN,LONGSECTION

    060,MC00

    060,GC00

    999

    COPY,DESIGN,LONGSECTION

    060,CE00

    060,CE0I

    999

    COPY,DESIGN,LONGSECTION

    059

    059,1=SCAL,4=8,5=0.01

    060,GC00

    059

    999

    AUTODRAW,ON

    MOSS,

    SUBS,

    SYSD,LONGSECTION.DPF

    999

    NEWD,LONGSECTION.DPF

    DRAW,LONGSECTION,DESIGN

    800,LAND,4=1,5=3

    802,5=0.5,6=0.5,8=0.5,9=7.7

    803,LONG,NOPA,3=NOTR,7=4000,10=400.

    804,STEP,2=WIND,3=MC00,5=7500,8=9000

    000,========>Draw Grids

    805,10,4=0.1

    806,2

    808,TTFN,4=0.2,5=0,6=0.75

    001,Consola.ttf

    822,1=FULL,5=-100,6=5

    822,1=FULL,6=-1

    000,========>Draw MC00 In the Profile Drawing Aperture

    845,LBLB,CC,DT,6=-3,3,9=0,1.0

    848,mc00,,DV,7=-9

    847,*,,DT,10=0.0

    001,Datum = &DV&m.

    805,2

    806,2

    810

    826,MC00,2=MC00,5=7500,8=9000

    000,========>Draw Ground Long Section In the Profile Drawing Aperture

    805,3

    810,DASH,5=0.2,0.1,0,0.2,0.1

    826,LZ00,2=MC00,5=7500,8=9000

    000,========>Define Annotation Area Boxes

    810

    805,1

    845,BBL,2=CLP,3=1100,9=-2.,10=2.

    845,BBL,2=CLP,3=4100,6=-3.,7=3.,9=-2.,10=2.

    845,BBL,2=CLP,3=1200,9=-4.,10=2.

    845,BBL,2=CLP,3=4200,6=-3.,7=3.,9=-4.,10=2.

    845,BBL,2=CLP,3=1700,9=-14.,10=2.

    845,BBL,2=CLP,3=4700,6=-3.,7=3.,9=-14.,10=2.

    000,========>Annotate Title Boxes

    808,TTFN,4=0.2,5=2,6=0.75

    001,Consola.ttf

    806,2

    847,*,3=4100,10=0.

    001,Design Level

    806,3

    847,*,3=4200,10=0.

    001,Existing Level

    806,2

    847,*,3=4700,10=0.

    001,Chainage

    805

    000,========>Annotate Design Levels & Chainages

    808,TTFN,4=0.23,5=2,6=0.75

    001,Consola.ttf

    806,2

    846,MC00,2=MC00,3=1100,4=20.,5=7500,7=3.,8=9000,10=270.

    808,TTFN,2=  4 ,4=0.23,5=2,6=0.75

    001,Consola.tt

    806,2

    846,MC00,2=MC00,3=1700,4=20.,5=7500,7=4.,8=9000,10=270.

    000,========>Draw Ordinates to Design Levels

    805,10,4=0.1

    849,MC00,MC00,VF,20,5=7500,7=0,8=9000

    809

    000,========>Annotate Ground Levels

    808,TTFN,4=0.23,5=2,6=0.75

    001,Consola.ttf

    806,3

    846,LZ00,2=MC00,3=1200,4=20.,5=7500,7=3.,8=9000,10=270.

    809

    808

    806,2

    805,1

    806,1

    000,   ====================

    000,   Horizontal Schematic

    000,   ====================

    808,TTFN,4=0.2,5=2,6=0.75

    001,Consola.ttf

    000,========>Define Annotation Boxes

    845,bbl,2=cl,3=hdat,9=-6.,10=2.

    845,bbl,3=htxt,6=-3.,7=3.,9=-6.,10=2.

    805,2

    806,2

    000,========>Annotate Title Boxes

    847,*,3=htxt,10=0.

    001,Horizontal

    000,========>Set up schematic reference data

    808,TTFN,4=0.17,5=2,6=0.75

    001,Consola.ttf

    701,GC00,3=hdat

    000,========>Draw schematic line (type 1)

    711,3=cent

    810

    711,3=hlin,4=0.1

    000,========>Annotate schematic (type 1)

    000,   Length of Straights

    721,GC00,2=line,3=D000,10=0

    721,3=stle,4=-40.

    001,L=&stle&

    000,   Radius of Curves

    808,TTFN,2=   0,4=0.18,5=0,6=0.75

    001,Consola.ttf

    721,GC00,2=line,3=D003,10=90

    721,3=radi,4=-44.

    001,R=&radi&

    000,   Straights with Infinity Symbol

    808,TTFN,4=0.3,5=2,6=0.75

    001,Consola.ttf

    721,GC00,2=line,3=i002,10=90.

    721,3=ainf,4=-48.

    001,&ainf&

    000,   Chainages of Tangent Points

    808,TTFN,2=  4 ,4=0.17,5=2,6=0.75

    001,Consola.tt

    809,htps

    846,GC00,3=hdat,7=4

    809

    000,   ==================

    000,   Vertical Schematic

    000,   ==================

    805,2

    806,2

    000,   Vertical TP - Chainages

    000,   Chainages of Tangent Points

    808,TTFN,2=  4 ,4=0.18,5=2,6=0.75

    001,Consola.tt

    809,vtps

    859,GC00,2=d000,5=7500,7=1.5,8=9000,10=270.

    859,3=A2CH,4=4.

    001,&A2CH&

    000,   Chainages of Intersection Points

    809,vips

    859,GC00,2=i006,5=7500,7=0,8=9000,10=0

    859,3=A2vc,4=4.

    001,Station=&A2vc&

    000,   Intersection Points Label

    809,vips

    859,GC00,2=i007,5=7500,7=0,8=9000,10=0

    859,3=VCIL,4=-69

    001,PVI #&VCIL&

    000,   Vertical Tangent Points Label

    809,vtps

    859,GC00,2=d000,5=7500,7=1,8=9000,10=270

    859,3=VtpL,4=10

    001,&VtpL&

    000,   In & Out Gradient

    808,TTFN,4=0.18,5=2,6=0.75

    001,Consola.ttf

    809,VIPS

    859,GC00,2=i003,5=7500,7=0,8=9000,10=0

    859,3=G1cl,4=-65

    001,G1=&G1cl& %

    809,VIPS

    859,GC00,2=i002,7=0,10=0

    859,3=G2cl,4=-66

    001,G2=&g2cl& %

    000,   Vertical TP - Levels

    808,TTFN,4=0.18,5=2,6=0.75

    001,Consola.ttf

    809,vtps

    859,GC00,2=D001,5=7500,7=1,8=9000,10=270.

    859,3=A2LE,4=3.

    001,Level=&A2LE&

    000,   Vertical Curve Lengths

    808,TTFN,4=0.18,5=2,6=0.75

    001,Consola.ttf

    809,vips

    859,GC00,2=i004,5=7500,7=0,8=9000,10=0

    859,3=CLVC,4=-68

    001,Length=&CLVC&

    000,   Vertical TP - Symbols

    809,vtps

    861,GC00,2=iadsymb1,4=0.15,10=0.

    000,   Vertical IP - Symbols

    809,vips

    861,GC00,2=downarro,4=0.10,10=0.

    000,   Vertical IP - Levels

    809,vIps

    859,GC00,2=i005,5=7500,7=0,8=9000,10=0

    859,3=A2VI,4=3.

    001,Level=&A2VI&

    000,   Vertical 1/K Values

    808,TTFN,4=0.18,5=5,6=0.75

    001,Consola.ttf

    809,vIps

    859,GC01,2=i001,5=7500,7=0,8=9000,10=0

    859,3=kvVI,4=8

    001,1/K=&kvVI&

    000,   =========================

    000,   Vertical Schematic Type 1

    000,   =========================

    805,1

    806,1

    810

    845,bbl,2=cl,3=vdat,9=-8.,10=2.

    845,bbl,2=cl,3=vtxt,6=-3.,7=3.,9=-8.,10=2.

    805,2

    806,2

    808,TTFN,4=0.20,5=2,6=0.75

    001,Consola.ttf

    810

    847,*,3=vtxt,10=0.

    001,Vertical

    808,TTFN,4=0.18,5=2,6=0.75

    001,Consola.ttf

    701,GC00,3=vdat

    711,GC00,3=vlin,4=0

    000,   Percentage Gradient

    809,4=11.

    721,GC00,10=90.

    721,3=ve02,4=-23.

    001,G=&ve02& %

    809

    000,   Gradient Length

    721,GC00,3=i001,10=90.

    721,3=ve01,4=-40.

    001,L=&ve01& m

    000,   Length of Curve Elements

    721,GC00,3=i001,10=90.

    721,3=ve04,4=-45

    001,L=&ve04& m

    000,   Chainages of Vertical Tangent Points

    808,TTFN,2=  4 ,4=0.18,5=2,6=0.75

    001,Consola.tt

    809,vtps

    846,GC00,3=vdat,7=4

    809

    000,   Widening Schematic

    808,TTFN,4=0.2,5=2,6=0.75

    001,Consola.ttf

    806,2

    805,1

    845,bbl,2=bcpt,3=wdat,9=-10.,10=2.

    845,bbl,2=cl,3=wtxt,6=-3.,7=3.,9=-10.,10=2.

    806,2

    847,*,3=wtxt,10=0.

    001,Widening

    808,TTFN,4=0.18,5=2,6=0.75

    001,Consola.ttf

    701,MC00,3=wdat

    805,2

    806,2

    711,3=cent

    711

    805,4

    806,4

    810

    808,TTFN,4=0.16,5=1,6=0.75

    001,Consola.ttf

    711,CE00,3=wide,4=0.2

    711

    721,CE00,box,3=IC00,10=0.

    721,3=LWCH,4=-38

    001,&LWCH&

    731,CE00,3=line

    805,8

    806,8

    810

    808,TTFN,4=0.16,5=1,6=0.75

    001,Consola.ttf

    711,CE0I,3=wide,4=0.1

    711

    721,CE0I,box,3=ic00,10=0.

    721,3=rwdi,4=-38.

    001,&rwdi&

    731,CE0I,3=line

    809

    000,   Superelevation Schematic

    806,2

    805,1

    806,1

    845,bbl,2=bcpt,3=sdat,9=-12.,10=2

    845,bbl,2=cl,3=stxt,6=-3.,7=3.,9=-12.,10=2

    805,2

    806,2

    808,TTFN,4=0.2,5=2,6=0.75

    001,Consola.ttf

    847,*,3=stxt,10=0.

    001,Superelevation

    808,TTFN,4=0.16,5=1,6=0.75

    001,Consola.ttf

    701,MC00,3=sdat

    805,2

    806,2

    711,3=cent

    805,8

    806,8

    810

    711,CE00,3=supe,4=0.2

    805,4

    806,4

    810

    711,CE0I,3=supe,4=0.2

    711

    806,8

    809,4=11.

    721,CE00,2=box,3=i000,7=0,10=0

    721,3=lcsu,4=-91.

    001,&lcsu& %

    806,4

    721,CE0I,2=box,3=i000,7=0,10=0

    721,3=rcsu,4=-91.

    001,&rcsu& %

    809

    806,4

    999

    Display

    999

    The problem i am facing is that i can not control the distance between the lowest section string points and the level datum, taking too much space that  can not be accomodated in the page margin that i defined earlier.

    If there is some mistake i have done with the input files or other that i have to incorporate, please let me know.

    Addis.

    Long Section.dwg
Reply
  • Hello Jason.

    First, thank you for the reply.

    I think I coded all the minor options that you posted. my input file looks like:

    DELETE,LONGSECTION

    CREATE,LONGSECTION

    999

    AUTODRAW,OFF

    SECTION,TRIA,DESIGN

    SECTION,LONGSECTION

    177,MC00,2=TX00,3=LZ00,5=7500,8=9000

    999

    COPY,DESIGN,LONGSECTION

    060,MC00

    060,GC00

    999

    COPY,DESIGN,LONGSECTION

    060,CE00

    060,CE0I

    999

    COPY,DESIGN,LONGSECTION

    059

    059,1=SCAL,4=8,5=0.01

    060,GC00

    059

    999

    AUTODRAW,ON

    MOSS,

    SUBS,

    SYSD,LONGSECTION.DPF

    999

    NEWD,LONGSECTION.DPF

    DRAW,LONGSECTION,DESIGN

    800,LAND,4=1,5=3

    802,5=0.5,6=0.5,8=0.5,9=7.7

    803,LONG,NOPA,3=NOTR,7=4000,10=400.

    804,STEP,2=WIND,3=MC00,5=7500,8=9000

    000,========>Draw Grids

    805,10,4=0.1

    806,2

    808,TTFN,4=0.2,5=0,6=0.75

    001,Consola.ttf

    822,1=FULL,5=-100,6=5

    822,1=FULL,6=-1

    000,========>Draw MC00 In the Profile Drawing Aperture

    845,LBLB,CC,DT,6=-3,3,9=0,1.0

    848,mc00,,DV,7=-9

    847,*,,DT,10=0.0

    001,Datum = &DV&m.

    805,2

    806,2

    810

    826,MC00,2=MC00,5=7500,8=9000

    000,========>Draw Ground Long Section In the Profile Drawing Aperture

    805,3

    810,DASH,5=0.2,0.1,0,0.2,0.1

    826,LZ00,2=MC00,5=7500,8=9000

    000,========>Define Annotation Area Boxes

    810

    805,1

    845,BBL,2=CLP,3=1100,9=-2.,10=2.

    845,BBL,2=CLP,3=4100,6=-3.,7=3.,9=-2.,10=2.

    845,BBL,2=CLP,3=1200,9=-4.,10=2.

    845,BBL,2=CLP,3=4200,6=-3.,7=3.,9=-4.,10=2.

    845,BBL,2=CLP,3=1700,9=-14.,10=2.

    845,BBL,2=CLP,3=4700,6=-3.,7=3.,9=-14.,10=2.

    000,========>Annotate Title Boxes

    808,TTFN,4=0.2,5=2,6=0.75

    001,Consola.ttf

    806,2

    847,*,3=4100,10=0.

    001,Design Level

    806,3

    847,*,3=4200,10=0.

    001,Existing Level

    806,2

    847,*,3=4700,10=0.

    001,Chainage

    805

    000,========>Annotate Design Levels & Chainages

    808,TTFN,4=0.23,5=2,6=0.75

    001,Consola.ttf

    806,2

    846,MC00,2=MC00,3=1100,4=20.,5=7500,7=3.,8=9000,10=270.

    808,TTFN,2=  4 ,4=0.23,5=2,6=0.75

    001,Consola.tt

    806,2

    846,MC00,2=MC00,3=1700,4=20.,5=7500,7=4.,8=9000,10=270.

    000,========>Draw Ordinates to Design Levels

    805,10,4=0.1

    849,MC00,MC00,VF,20,5=7500,7=0,8=9000

    809

    000,========>Annotate Ground Levels

    808,TTFN,4=0.23,5=2,6=0.75

    001,Consola.ttf

    806,3

    846,LZ00,2=MC00,3=1200,4=20.,5=7500,7=3.,8=9000,10=270.

    809

    808

    806,2

    805,1

    806,1

    000,   ====================

    000,   Horizontal Schematic

    000,   ====================

    808,TTFN,4=0.2,5=2,6=0.75

    001,Consola.ttf

    000,========>Define Annotation Boxes

    845,bbl,2=cl,3=hdat,9=-6.,10=2.

    845,bbl,3=htxt,6=-3.,7=3.,9=-6.,10=2.

    805,2

    806,2

    000,========>Annotate Title Boxes

    847,*,3=htxt,10=0.

    001,Horizontal

    000,========>Set up schematic reference data

    808,TTFN,4=0.17,5=2,6=0.75

    001,Consola.ttf

    701,GC00,3=hdat

    000,========>Draw schematic line (type 1)

    711,3=cent

    810

    711,3=hlin,4=0.1

    000,========>Annotate schematic (type 1)

    000,   Length of Straights

    721,GC00,2=line,3=D000,10=0

    721,3=stle,4=-40.

    001,L=&stle&

    000,   Radius of Curves

    808,TTFN,2=   0,4=0.18,5=0,6=0.75

    001,Consola.ttf

    721,GC00,2=line,3=D003,10=90

    721,3=radi,4=-44.

    001,R=&radi&

    000,   Straights with Infinity Symbol

    808,TTFN,4=0.3,5=2,6=0.75

    001,Consola.ttf

    721,GC00,2=line,3=i002,10=90.

    721,3=ainf,4=-48.

    001,&ainf&

    000,   Chainages of Tangent Points

    808,TTFN,2=  4 ,4=0.17,5=2,6=0.75

    001,Consola.tt

    809,htps

    846,GC00,3=hdat,7=4

    809

    000,   ==================

    000,   Vertical Schematic

    000,   ==================

    805,2

    806,2

    000,   Vertical TP - Chainages

    000,   Chainages of Tangent Points

    808,TTFN,2=  4 ,4=0.18,5=2,6=0.75

    001,Consola.tt

    809,vtps

    859,GC00,2=d000,5=7500,7=1.5,8=9000,10=270.

    859,3=A2CH,4=4.

    001,&A2CH&

    000,   Chainages of Intersection Points

    809,vips

    859,GC00,2=i006,5=7500,7=0,8=9000,10=0

    859,3=A2vc,4=4.

    001,Station=&A2vc&

    000,   Intersection Points Label

    809,vips

    859,GC00,2=i007,5=7500,7=0,8=9000,10=0

    859,3=VCIL,4=-69

    001,PVI #&VCIL&

    000,   Vertical Tangent Points Label

    809,vtps

    859,GC00,2=d000,5=7500,7=1,8=9000,10=270

    859,3=VtpL,4=10

    001,&VtpL&

    000,   In & Out Gradient

    808,TTFN,4=0.18,5=2,6=0.75

    001,Consola.ttf

    809,VIPS

    859,GC00,2=i003,5=7500,7=0,8=9000,10=0

    859,3=G1cl,4=-65

    001,G1=&G1cl& %

    809,VIPS

    859,GC00,2=i002,7=0,10=0

    859,3=G2cl,4=-66

    001,G2=&g2cl& %

    000,   Vertical TP - Levels

    808,TTFN,4=0.18,5=2,6=0.75

    001,Consola.ttf

    809,vtps

    859,GC00,2=D001,5=7500,7=1,8=9000,10=270.

    859,3=A2LE,4=3.

    001,Level=&A2LE&

    000,   Vertical Curve Lengths

    808,TTFN,4=0.18,5=2,6=0.75

    001,Consola.ttf

    809,vips

    859,GC00,2=i004,5=7500,7=0,8=9000,10=0

    859,3=CLVC,4=-68

    001,Length=&CLVC&

    000,   Vertical TP - Symbols

    809,vtps

    861,GC00,2=iadsymb1,4=0.15,10=0.

    000,   Vertical IP - Symbols

    809,vips

    861,GC00,2=downarro,4=0.10,10=0.

    000,   Vertical IP - Levels

    809,vIps

    859,GC00,2=i005,5=7500,7=0,8=9000,10=0

    859,3=A2VI,4=3.

    001,Level=&A2VI&

    000,   Vertical 1/K Values

    808,TTFN,4=0.18,5=5,6=0.75

    001,Consola.ttf

    809,vIps

    859,GC01,2=i001,5=7500,7=0,8=9000,10=0

    859,3=kvVI,4=8

    001,1/K=&kvVI&

    000,   =========================

    000,   Vertical Schematic Type 1

    000,   =========================

    805,1

    806,1

    810

    845,bbl,2=cl,3=vdat,9=-8.,10=2.

    845,bbl,2=cl,3=vtxt,6=-3.,7=3.,9=-8.,10=2.

    805,2

    806,2

    808,TTFN,4=0.20,5=2,6=0.75

    001,Consola.ttf

    810

    847,*,3=vtxt,10=0.

    001,Vertical

    808,TTFN,4=0.18,5=2,6=0.75

    001,Consola.ttf

    701,GC00,3=vdat

    711,GC00,3=vlin,4=0

    000,   Percentage Gradient

    809,4=11.

    721,GC00,10=90.

    721,3=ve02,4=-23.

    001,G=&ve02& %

    809

    000,   Gradient Length

    721,GC00,3=i001,10=90.

    721,3=ve01,4=-40.

    001,L=&ve01& m

    000,   Length of Curve Elements

    721,GC00,3=i001,10=90.

    721,3=ve04,4=-45

    001,L=&ve04& m

    000,   Chainages of Vertical Tangent Points

    808,TTFN,2=  4 ,4=0.18,5=2,6=0.75

    001,Consola.tt

    809,vtps

    846,GC00,3=vdat,7=4

    809

    000,   Widening Schematic

    808,TTFN,4=0.2,5=2,6=0.75

    001,Consola.ttf

    806,2

    805,1

    845,bbl,2=bcpt,3=wdat,9=-10.,10=2.

    845,bbl,2=cl,3=wtxt,6=-3.,7=3.,9=-10.,10=2.

    806,2

    847,*,3=wtxt,10=0.

    001,Widening

    808,TTFN,4=0.18,5=2,6=0.75

    001,Consola.ttf

    701,MC00,3=wdat

    805,2

    806,2

    711,3=cent

    711

    805,4

    806,4

    810

    808,TTFN,4=0.16,5=1,6=0.75

    001,Consola.ttf

    711,CE00,3=wide,4=0.2

    711

    721,CE00,box,3=IC00,10=0.

    721,3=LWCH,4=-38

    001,&LWCH&

    731,CE00,3=line

    805,8

    806,8

    810

    808,TTFN,4=0.16,5=1,6=0.75

    001,Consola.ttf

    711,CE0I,3=wide,4=0.1

    711

    721,CE0I,box,3=ic00,10=0.

    721,3=rwdi,4=-38.

    001,&rwdi&

    731,CE0I,3=line

    809

    000,   Superelevation Schematic

    806,2

    805,1

    806,1

    845,bbl,2=bcpt,3=sdat,9=-12.,10=2

    845,bbl,2=cl,3=stxt,6=-3.,7=3.,9=-12.,10=2

    805,2

    806,2

    808,TTFN,4=0.2,5=2,6=0.75

    001,Consola.ttf

    847,*,3=stxt,10=0.

    001,Superelevation

    808,TTFN,4=0.16,5=1,6=0.75

    001,Consola.ttf

    701,MC00,3=sdat

    805,2

    806,2

    711,3=cent

    805,8

    806,8

    810

    711,CE00,3=supe,4=0.2

    805,4

    806,4

    810

    711,CE0I,3=supe,4=0.2

    711

    806,8

    809,4=11.

    721,CE00,2=box,3=i000,7=0,10=0

    721,3=lcsu,4=-91.

    001,&lcsu& %

    806,4

    721,CE0I,2=box,3=i000,7=0,10=0

    721,3=rcsu,4=-91.

    001,&rcsu& %

    809

    806,4

    999

    Display

    999

    The problem i am facing is that i can not control the distance between the lowest section string points and the level datum, taking too much space that  can not be accomodated in the page margin that i defined earlier.

    If there is some mistake i have done with the input files or other that i have to incorporate, please let me know.

    Addis.

    Long Section.dwg
Children