Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0

Sedichanneltankscript

Wiki Markup
h1. Sedichanneltankscript

{float:left|border=2px solid black}
[!ichannel NE.bmp|width=350px!|AutoCAD Channel Program]
NorthEast Isometric View
{float}
\\
\\
*viewtopi* \- Rotates workspace so that object is being viewed from the top.

viewtop <\- viewtop1

*layernewict* \- [Layer{~}new~|AutoCAD Basics Layer] creates a new light grey layer, "ichanneltank."

layernewict <\- layer{~}new~



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

viewtop <- viewtop1

layernewict - Layernew creates a new light grey layer, "ichanneltank."

layernewict <- layernew("ichanneltank",ltgrey)

Wiki Markup

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

tankict

...

-

...

Calls

...

the

...

Tank

...

Program

...

to

...

draw

...

a

...

tank.

...

tankict

...

<

...

-

...

Tank(ichanneltank

...

origin,ichanneltank

...

dim,TPlantWall)

Wiki Markup
{~}PlantWall~)
\\
\\
{float:left|border=2px solid black}
[!ibox1.bmp|width=300px!|AutoCAD Channel Program]
Top View
{float}
Wiki Markup

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

boxictb

...

-

...

Creates

...

a

...

box

...

based

...

on

...

two

...

points.

...

boxictb

...

<

...

-

...

box(channelbox

...

origin,channelbox

...

origin +

...

channelbox

...

dim)

channelboxorigin =

  • x: tankorigin0 - LSed
  • y: tankorigin1
  • z: tankorigin2 + HSed - HChannel

channelboxdim =

  • x: WChannel
  • y: NSedTanks(WSed~ + TPlantWall)
  • z: HChannel

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

...

  • subtractict

...

  • -

...

...

  • subtracts

...

  • one

...

  • object

...

  • from

...

  • the

...

  • other

...

  • based

...

  • on

...

  • two

...

  • points.

...

subtractict

...

<

...

-

...

subtractD(ichanneltank

...

origin,channelbox

...

origin)

channelboxorigin =

  • x: tankorigin0 - LSed
  • y: tankorigin1
  • z: tankorigin2 + HSed - HChannel

    layerset - Layerset selects the layer "0".

layerset <- layerset("0")

layerfreezeict - Layerfreeze locks the layer "ichanneltank" so that it cannot be edited."

layerfreezeict <- layerfreeze("ichanneltank")

layernewiwe - Layernew creates a new green layer, "inletweirelbow."

layernewiwe <- layernew("inletweirelbow",green)

Wiki Markup

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

elbowiwe

...

-

...

Calls

...

the

...

Elbow

...

Program

...

to

...

draw

...

an

...

elbow.

...

elbowiwe

...

<

...

-

...

elbow(sedtankinletweirelbow

...

origin,ND

...

PltWeir,ENSpec)

Wiki Markup
{~}Spec~)
\\
\\
{float:left|border=2px solid black}
[!irotate1.bmp|width=300px!|AutoCAD Channel Program]
Top View
{float}
*

rotateiwe1

...

-

...

Rotate3d rotates the selected object by the designated degrees.

rotateiwe1 <- rotate3d(p1,sedtankinletweirelboworigin,"y",90)

...

p1

...

=

...

  • x:

...

  • sedtankinletweirelbow

...

  • origin0 +

...

  • ElbowRadius(ND

...

  • PltWeir)
  • y:

...

  • sedtankinletweirelboworigin1
  • z:

...

  • sedtankinletweirelboworigin2 - outerradius(ND

...

  • PltWeir)

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

...

  • rotateiwe2

...

  • -

...

  • Rotate3d rotates the selected object by the designated degrees.

rotateiwe2 <- (p1,sedtankinletweirelbow

...

origin,"z",90)

...

p1

...

=

...

  • x:

...

  • sedtankinletweirelboworigin0
  • y:

...

  • sedtankinletweirelbow

...

  • origin1 +

...

  • ElbowRadius(NE

...

  • PltWeir)

...

  • -

...

  • outerradius(ND

...

  • PltWeir)
  • z:

...

  • sedtankinletweirelboworigin2

    layerfreezeiwe - Layerfreeze locks the layer "inletweirelbow" so that it cannot be edited.

layerfreezeiwe <- layerfreeze("inletweirelbow")

...

layernewiwp - Layernew creates a new blue layer, "inletweir."

...

layernewiwp

...

<

...

-

...

layer

...

new("inletweir",blue)

Wiki Markup

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

pipeiwp

...

-

...

Calls

...

the

...

Pipe

...

Program

...

to

...

draw

...

a

...

pipe

...

in

...

the

...

program.

...

pipeiwp

...

<

...

-

...

Pipe(inletweirpipe

...

origin,ND

...

PltWeir,inletweirpipe

...

length,EN

...

PipeSpec)

layerfreezeiwp - Layerfreeze locks the layer "inletweir" so that it cannot be edited.

layerfreezeiwp <-layerfreeze("inletweir")

...