This function adds a new acoustic variable using COM scripting

EVNewAcousticVar(EVFile, oldVarName, enum)

Arguments

EVFile

An Echoview file COM object

oldVarName

a string containing the name of the acoustic variable to base the new variable on

enum

Enum code for operator. See Echoview help file on EOperator for enum codes.

Value

an object: returns the new variable

References

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

See also

Examples

# NOT RUN {
#create a 7x7 convolution of a variable
EVAppObj <- COMCreate('EchoviewCom.EvApplication')
EVFile <- EVOpenFile(EVAppObj,'~~/KAOS/KAOStemplate.EV')$EVFile
EVNewAcousticVar(EVFile = EVFile, oldVarName = "38 seabed and surface excluded", enum = 43)
# }