EVCreateEditableLine: Create an EV Editable Line from an existing line

EVCreateEditableLineR Documentation

Create an EV Editable Line from an existing line

Description

This function creates an EV Line in an EV file object by name using COM scripting.

Usage

EVCreateEditableLine(
  EVFile,
  lineNameToCopy,
  editableLineName = NULL,
  Multiply = 1,
  Add = 0,
  SpanGaps = FALSE
)

Arguments

EVFile

An Echoview file COM object

lineNameToCopy

a string containing the name of the line to copy

editableLineName

=NULL desired editable line name.If null, EDIT is appended to lineNameToCopy and used as editable line name.

Multiply

=1 multiply source line depth when creating new editable line

Add

=0 add to source line depth when creating new editable line

SpanGaps

=FALSE span gaps when creating new editable line

Value

an Echoview editable line object

References

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

See Also

EVFindLineByName EVOpenFile

Examples

## Not run: 
EVAppObj <- COMCreate('EchoviewCom.EvApplication')
EVFile <- EVOpenFile(EVAppObj, '~~KAOS/KAOStemplate.EV')$EVFile

EVCreateEditableLine(EVFile = EVFile, 
    lineNameToCopy='Offset seabed',
    editableLineName='Editable Seabed line')

## End(Not run)

AustralianAntarcticDivision/EchoviewR documentation built on Aug. 21, 2023, 6:56 p.m.