This function adds a new acoustic variable using COM scripting
EVNewAcousticVar(EVFile, oldVarName, enum)
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. |
an object: returns the new variable
http://support.echoview.com/WebHelp/Echoview.htm/
# 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) # }