The WellDataDeleteWell option deletes a well from an existing WellData module. The OptionValue is the name of the well to delete. This option is only available when a WellData module already exists. This option cannot be undone.
Syntax
object.Construct(“Import”)
object.Option(“Path”, “data file name”)
object.Option(“ImportAsWells”, “True”)
object.Do() or object.DoOnce()
object.Construct(“ModifyModule”)
object.Option(“Module”, “WellData”)
object.Option(“WellDataDeleteWell”, “OptionValue”)
object.Do() or object.DoOnce()
Example
This example deletes the well named "MW-2" from the WellData module.
CommandApi.Construct ("ModifyModule")
CommandApi.Option ("Module", "WellData")
CommandApi.Option ("WellDataDeleteWell", "MW-2")
CommandApi.Do()
Used by: WellData Module
See Also