EVRenameLine: Renames an Echoview Line object

EVRenameLineR Documentation

Renames an Echoview Line object

Description

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

References

http://support.echoview.com/WebHelp/Echoview.htm/

See Also

EVOpenFile EVNewFixedDepthLine EVFindLineByName

Examples

## Not run: 
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")

## End(Not run)

AustralianAntarcticDivision/EchoviewR documentation built on May 14, 2024, 10:32 a.m.