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 -
box1 <- box(channelboxorigin,channelboxorigin + channelboxdim)
subtract1 -
subtract <- subtractD(PlantOrigin,channelboxorigin)
box2 -
box2 <- box(echannelboxorigin,echannelboxorigin + echannelboxdim)
subtract2 -
subtract <- subtactD(p1,echannelboxorigin)
Note: p1 is a dummy variable used only in the program help section to designate the matrix below.
layerset1 -
layerset1 <- layerset("channel")
box3 -
box3 <- box(channelcloseboxorigin,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")