Skip to contents

This function exports the integration by region by cells for an acoustic variable using COM scripting. Unlike EVIntegrationByRegionsByCellsExport, this function exports integration data for only for a single region name, not a region class. Note: This function will only work if the acoustic variable has a grid.

Usage

EVExportIntegrationByRegionByCells(EVFile, variableName, regionName, filePath)

Arguments

EVFile

An Echoview file COM object

variableName

a string containing the name of an EV acoustic variable

regionName

a string containing the name of the region to export. Note: Input a single region's name, not region a class. To export by class, see EVIntegrationByRegionsByCellsExport.

filePath

a string containing the file path and name to save the exported data to

See also

Examples

if (FALSE) {
EVAppObj <- COMCreate('EchoviewCom.EvApplication')
EVFile <- EVOpenFile(EVAppObj,'~~/KAOS/KAOStemplate.EV')$EVFile
EVExportIntegrationByRegionByCells(EVFile = EVFile, 
variableName = '38 seabed and surface excluded', 'Region1', 
filePath = '~~/KAOS/EVExportIntegrationByRegionByCells_example.csv')
}