Skip to contents

This function deletes an Echoview line object using COM scripting

Usage

EVDeleteLine(EVFile, evLine)

Arguments

EVFile

An Echoview file COM object

evLine

an Echoview line object

Value

a list object with one element- function message for log

Examples

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

testline <- EVNewFixedDepthLine(EVFile = EVFile, depth = 50, lineName = "test_line")
EVDeleteLine(EVFile = EVFile, evLine = testline)
}