This function adds a new acoustic variable using COM scripting
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.
Examples
if (FALSE) {
#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)
}