Skip to contents

This function creates a new Echoview file (.EV) via COM scripting which may be created from a template file if available

Usage

EVNewFile(EVAppObj, templateFn = NULL)

Arguments

EVAppObj

An EV application COM object arising from the call COMCreate('EchoviewCom.EvApplication')

templateFn

full path and filename for an Echoview template

Value

a list object with two elements. $EVFile: EVFile COM object for the newly created Echovie file, and $msg: message for processing log.

Examples

if (FALSE) {
EVAppObj=COMCreate('EchoviewCom.EvApplication')
EVFile=EVNewFile(EVAppObj)$EVFile
}