Create an EV Editable Line from an existing line
Source:R/EVCreateEditableLine.R
EVCreateEditableLine.Rd
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
Examples
if (FALSE) {
EVAppObj <- COMCreate('EchoviewCom.EvApplication')
EVFile <- EVOpenFile(EVAppObj, '~~KAOS/KAOStemplate.EV')$EVFile
EVCreateEditableLine(EVFile = EVFile,
lineNameToCopy='Offset seabed',
editableLineName='Editable Seabed line')
}