Skip to contents

This function renames an Echoview line object using COM scripting

Usage

EVRenameLine(EVFile, evLine, newName)

Arguments

EVFile

An Echoview file COM object

evLine

an Echoview line object

newName

a string containing the new name for the line

Value

a list object with one element- fucntion message for log

Examples

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

testline <- EVNewFixedDepthLine(EVFile = EVFile, depth = 50, lineName = "testline")
EVRenameLine(EVFile = EVFile, evLine = testline, newName = "line40")
}