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

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

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')
# }