Sedechanneltankscript

{float:left|border=2px solid black}
[!echannel.bmp|width=450px!|AutoCAD Channel Program]
NorthEast Isometric View
{float}



viewtope - Rotates workspace so that object is being viewed from the top.

viewtope <- viewtop1

layernewect - Layernew creates a new light grey layer, "echanneltank."

layernewext <-layernew("echanneltank",ltgrey)

{float:left|border=2px solid black}
[!tank1.bmp|width=300px!|AutoCAD Channel Program]
Top View
{float}

tankect - Calls the Tank Program to draw a tank.

tankect <-Tank(echanneltankorigin,echanneltankdim,TPlantWall)

echannelorigin =

echannelboxdim =

TPlantWall = Thickness of tank wall of sed tank and floc tank.

{float:left|border=2px solid black}
[!box1.bmp|width=300px!|AutoCAD Channel Program]
Top View
{float}
{float:left|border=2px solid black}
[!box1 NE.bmp|width=300px!|AutoCAD Channel Program]
Top View
{float}

boxect - Creates a box based on two points.

boxect <-box(echanneltankorigin,echanneltankorigin + echannelboxdim)

echannelorigin =

echannelboxdim =

bigunion <-unionallA

{float:left|border=2px solid black}
[!box2.bmp|width=200px!|AutoCAD Channel Program]
Top View
{float}

boxect - Creates a box based on two points.

boxect <- box(echannelboxorigin,echannelboxorigin + echannelboxdim)

echannelorigin =

echannelboxdim =

subtractect <- subtractD(echanneltankorigin,echannelboxorigin)

layerset - Layerset selects the layer "0".

layerset <-layerset("0")

layerfreezeect - Layerfreeze locks the layer "echanneltank" so that it cannot be edited.

layerfreezeect <-layerfreeze("echanneltank")

layernewewe - Layernew creates a new green layer, "exitweirelbow."

layernewewe <- layernew("exitweirelbow",green)

{float:left|border=2px solid black}
[!elbow1.bmp|width=300px!|AutoCAD Channel Program]
Top View
{float}

elbowewe - Calls the Elbow Program to draw an elbow.

elbowewe <-elbow(sedtankexitweirelboworigin,NDPltWeir,ENPipeSpec)

ENPipeSpec - enumerated type

{float:left|border=2px solid black}
[!rotate1.bmp|width=300px!|AutoCAD Channel Program]
Top View
{float}

rotateewe1 - Rotate3d rotates the selected object by the designated degrees.

rotateewe1 <- rotate3d(p1,sedtankexitweirelboworigin,"y",90)

p1 =

"y" = rotation axis

90 = rotation angle

{float:left|border=2px solid black}
[!rotate2.bmp|width=300px!|AutoCAD Channel Program]
Top View
{float}

rotateewe2 - Rotate3d rotates the selected object by the designated degrees.

rotateewe2 <- rotate3d(p1,sedtankexitweirelboworigin,"z",90)

p1 =

"z" = rotation axis

90 = rotation angle

{float:left|border=2px solid black}
[!copy1.bmp|width=300px!|AutoCAD Channel Program]
Top View
{float}

copyewe - CopyB copies selected objects based on three selected points.

copyewe <- copyB(exitweirpipecopy1point,exitweirpipecopy1point,exitweirpipecopy2point)

layerfreezeewp - Layerfreeze locks the layer "exitweir" so that it cannot be edited.

layerfreezeewp <- layerfreeze("exitweir")