EVImportRegionDef: Import an Echoview region definitions file (.evr)

EVImportRegionDefR Documentation

Import an Echoview region definitions file (.evr)

Description

This function imports a region definitions file (.evr) using COM scripting

Usage

EVImportRegionDef(EVFile, evrFile)

Arguments

EVFile

An Echoview file COM object

evrFile

An Echoview region definitions file (.evr) path and name

Value

If successful, A list object with three elements. $regionCOMObjs a list comprising of the COM object of each imported region; $regionMeta metadata of the regions imported: the region ID, region name and region class, and $msg message for processing log

References

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

See Also

EVOpenFile

Examples

## Not run: EVAppObj <- COMCreate('EchoviewCom.EvApplication')
EVFile <- EVOpenFile(EVAppObj,'~~/KAOS/KAOStemplate.EV')$EVFile
EVImportRegionDef(EVFile = EVFile, evrFile = '~~/KAOS/off transect regions/20030114_1200000000.evr')

## End(Not run)

AustralianAntarcticDivision/EchoviewR documentation built on May 14, 2024, 10:32 a.m.