Skip to contents

This function deletes a region class within an Echoview object using COM scripting.

Usage

EVDeleteRegionClass(EVFile, regionClassCOMObj)

Arguments

EVFile

An Echoview file COM object

regionClassCOMObj

An Echoview region object

Value

a list object with two elements. $EVVar: An Echoview acoustic variable object, and $msg: message for processing log.

Examples

if (FALSE) {
EVAppObj <- COMCreate('EchoviewCom.EvApplication')
EVFile <- EVOpenFile(EVAppObj,'~~/KAOS/KAOStemplate.EV')$EVFile
exampleClass <- EVRegionClassFinder(EVFile, "003")$regionClass
EVDeleteRegionClass(EVFile, exampleClass)
}