Skip to contents

This function performs a save as operation on an existing Echoview (.EV) file using COM scripting.

Usage

EVSaveAsFile(EVFile, fileName)

Arguments

EVFile

An Echoview file COM object

fileName

An Echoview file path and name.

Value

a list object with two elements. $chk: Boolean check indicating if the file was successfully saved; $msg: message for processing log.

Examples

if (FALSE) {
EVAppObj <- COMCreate('EchoviewCom.EvApplication')
EVFile <- EVOpenFile(EVAppObj,'~~/KAOS/KAOStemplate.EV')$EVFile
EVSaveAsFile(EVFile = EVFile, fileName = '~~/KAOS/KAOStemplate_test.EV')
}