Skip to contents

This function creates a new Echoview line at a fixed depth using COM scripting

Usage

EVNewFixedDepthLine(EVFile, depth, lineName)

Arguments

EVFile

An Echoview file COM object

depth

an integer specifying the fixed depth of the new line

lineName

a string containing the name for the new line

Value

returns the EV Line object

See also

Examples

if (FALSE) {
EVAppObj <- COMCreate('EchoviewCom.EvApplication')
EVFile <- EVOpenFile(EVAppObj,'~~/KAOS/KAOStemplate.EV')$EVFile

#create a new line at 50m depth named "testline"
newLine <- EVNewFixedDepthLine(EVFile = EVFile, depth = 50, lineName = "testline")
}