English

How To: Create a Dynamic Segmentation demo No. 7

Summary

Instructions provided describe how to use the ARCSECTION command at the Arc prompt to make routes.

Procedure

Generate a 3x3 grid named C and build it with the line option to create an AAT. Half the arcs will be assigned a C-ID value of 1 and the other half a value of 2.

The ARCSECTION command is then run to create a route system named BUS, comprising of two separate routes ( BUS-ID = 1 and BUS-ID = 2)

arc>cw dynsegdemo7
w dynsegdemo7

generate c
grid
0,0
0,1
1,1
3,3
q

build c line

tables
SEL C.AAT
LIST
CALC C-ID = C#
RES C-ID < 13
CALC C-ID = 1
NSEL
CALC C-ID = 2
SEL C.AAT
LIST
Q STOP

IDEDIT
IDEDIT C LINE

ARCSECTION
arcsection c bus c-id
list c.ratbus

list c.secbus
&term 9999
display 9999
ap
mape c
routelines
routelines c bus bus-id

The first route (BUS-ID = 1) gets drawn in white and the second route (BUS-ID = 2) gets drawn in red.

routetext
routetext c bus bus-id
q

End of demo No. 7.