Open Channel Drawing Script

layerthawtank - Layerthaw unlocks the layer "slopes" so that it can be edited.

layerthawtank <- layerthaw("slopes")

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

viewtop <- viewtop1

box1 - Creates a box based on two points.

box1 <- box(channelboxorigin,channelboxorigin + channelboxdim)

channelboxorigin =

channelboxdim =

subtract1 - SubtractD subtracts one object from the other based on two points.

subtract <- subtractD(PlantOrigin,channelboxorigin)

PlantOrigin =

channelboxorigin =

box2 - Creates a box based on two points.

box2 <- box(echannelboxorigin,echannelboxorigin + echannelboxdim)

echannelorigin =

echannelboxdim =

subtract2 - SubtractD subtracts one object from the other based on two points.

subtract <- subtractD(p1,echannelboxorigin)

Note: p1 is a dummy variable used only in the program help section to designate the matrix below.

p1 =

echannelorigin =

layerset1 - Layerset selects the layer "channel."

layerset1 <- layerset("channel")

box3 - Creates a box based on two points.

box3 <- box(channelcloseboxorigin,channelcloseboxorigin + channelcloseboxdim)

channelcloseboxorigin =

channelcloseboxdim =

bigunion - UnionallA selects all the objects visible in the workspace and joins them into one single object.

bigunion <- unionallA

layerset - Layerset selects the layer "0".

layerset <- layerset("0")

layerfreezech - Layerfreeze locks the layer "channel" so that it cannot be edited.

layerfreezech <- layerfreeze("channel")

layerfreezetank - Layerfreeze locks the layer "slopes" so that it cannot be edited.

layerfreezetank <- Layerfreeze("slopes")