WellRender

 

The WellRender module is created with the CreateModule command by setting the Type to WellRender. The properties of the WellRender are altered with the ModifyModule command. This is similar to the Network | Graphics Output | WellRender command.

 

Module Type

WellRender

 

Syntax

object.Construct(“CreateModule”)

object.Option(“SourceModule”, “data file name”)

object.Option(“Type”, “WellRender”)

object.Do() or object.DoOnce()

 

object.Construct(“ModifyModule”)

object.Option(“Module”, “WellRender”)

object.Option(“Option_Name”, “OptionValue”)

object.Do() or object.DoOnce()

 

Option Name

WellRenderDirDataAzLog

WellRenderDirDataColor

WellRenderDirDataColorLog

WellRenderDirDataColorMap

WellRenderDirDataColorMethod

WellRenderDirDataDipLog

WellRenderDirDataLabelFormatNumDigits

WellRenderDirDataLabelFormatPostfix

WellRenderDirDataLabelFormatPrefix

WellRenderDirDataLabelFormatType

WellRenderDirDataLegendAntialias

WellRenderDirDataLegendBGColor

WellRenderDirDataLegendCustomLabels

WellRenderDirDataLegendFGColor

WellRenderDirDataLegendFont

WellRenderDirDataLegendLabelHeight

WellRenderDirDataLegendLength

WellRenderDirDataLegendNumLabels

WellRenderDirDataLegendOrientation

WellRenderDirDataLegendShow

WellRenderDirDataLegendShowBackground

WellRenderDirDataLegendTitle

WellRenderDirDataLegendTitleHeight

WellRenderDirDataLegendUseCustomLabels

WellRenderDirDataLegendWidth

WellRenderDirDataLegendXPos

WellRenderDirDataLegendYPos

WellRenderDirDataSize

WellRenderDirDataSizeLog

WellRenderDirDataSizeMethod

WellRenderFont

WellRenderIntDataColor

WellRenderIntDatacolorLog

WellRenderIntDataColorMap

WellRenderIntDataColorMethod

WellRenderIntDataLabelFormatNumDigits

WellRenderIntDataLabelFormatPostfix

WellRenderIntDataLabelFormatPrefix

WellRenderIntDataLabelFormatType

WellRenderIntDataLegendAntialias

WellRenderIntDataLegendBGColor

WellRenderIntDataLegendCustomLabels

WellRenderIntDataLegendFGColor

WellRenderIntDataLegendFont

WellRenderIntDataLegendLabelHeight

WellRenderIntDataLegendLength

WellRenderIntDataLegendNumLabels

WellRenderIntDataLegendOrientation

WellRenderIntDataLegendShow

WellRenderIntDataLegendShowBackground

WellRenderIntDataLegendTitle

WellRenderIntDataLegendTitleHeight

WellRenderIntDataLegendUseCustomLabels

WellRenderIntDataLegendWidth

WellRenderIntDataLegendXPos

WellRenderIntDataLegendYPos

WellRenderIntDataLog

WellRenderIntDataSize

WellRenderIntDataSizeLog

WellRenderIntDataSizeMethod

WellRenderIntDataSource

WellRenderLabelColor

WellRenderLabelJustification

WellRenderLabelSize

WellRenderLeaderLineWidth

WellRenderPathColor

WellRenderPathColorLog

WellRenderPathColorMap

WellRenderPathColorMethod

WellRenderPathLabelFormatNumDigits

WellRenderPathLabelFormatPostfix

WellRenderPathLabelFormatPrefix

WellRenderPathLabelFormatType

WellRenderPathLegendAntialias

WellRenderPathLegendBGColor

WellRenderPathLegendCustomLabels

WellRenderPathLegendFGColor

WellRenderPathLegendFont

WellRenderPathLegendLabelHeight

WellRenderPathLegendLength

WellRenderPathLegendNumLabels

WellRenderPathLegendOrientation

WellRenderPathLegendShow

WellRenderPathLegendShowBackground

WellRenderPathLegendTitle

WellRenderPathLegendTitleHeight

WellRenderPathLegendUseCustomLabels

WellRenderPathLegendWidth

WellRenderPathLegendXPos

WellRenderPathLegendYPos

WellRenderPathSize

WellRenderPathSizeLog

WellRenderPathSizeMethod

WellRenderShowDirData

WellRenderShowIntData

WellRenderShowLabels

WellRenderShowLeaderLines

WellRenderShowPath

WellRenderXOffset

WellRenderYOffset

 

 

Example

This example shows how to load well data and add a WellRender module to it.

 

Sub Main

'Declares VoxlerApp as an object

Dim VoxlerApp As Object

 

'Creates an instance of the Voxler application object

'and assigns it to the variable named "VoxlerApp"

Set VoxlerApp = CreateObject("Voxler.Application")

'Set VoxlerApp = GetObject("Voxler.Application")

 

'Make Voxler visible

VoxlerApp.Visible = True

 

'Access CommandApi

Set CommandApi = VoxlerApp.CommandApi

 

'Load a well data file

 CommandApi.Construct("Import")

 CommandApi.Option ("Path", VoxlerApp.Path+"Samples\SampleWellData.xlsx")

 CommandApi.Option ("Options", "Defaults=1;Sheet=Collars")

 CommandApi.Option ("GuiEnabled", "F")

 CommandApi.Option ("ImportAsWells", "T")

 CommandApi.Option ("StartRow", "2")

 CommandApi.Option ("WellNameCol", "1")

 CommandApi.Option ("TopXCol", "2")

 CommandApi.Option ("TopYCol", "3")

 CommandApi.Option ("TopZCol", "4")

 CommandApi.Option ("AzCol", "5")

 CommandApi.Option ("DipCol", "6")

 CommandApi.Option ("TotalDepthCol", "7")

 CommandApi.Do()

 

'Append the trajectories to the well data

CommandApi.Construct ("Import")

CommandApi.Option ("Path", VoxlerApp.Path+"Samples\SampleWellData.xlsx")

CommandApi.Option ("Options", "Defaults=1;Sheet=Trajectories")

CommandApi.Option ("GuiEnabled", "False")

CommandApi.Option ("ImportAsWells", "True")

'We want to append the data to the node "WellData"

CommandApi.Option ("CreateModule", "False")       

CommandApi.Option ("TargetName", "WellData")

CommandApi.Option ("StartRow", "2")

CommandApi.Option ("WellNameCol", "1")

CommandApi.Option ("MDCol", "2")

CommandApi.Option ("AzCol", "3")

CommandApi.Option ("IncCol", "4")

CommandApi.Do()

 

'Compute the Paths

CommandApi.Construct ("ModifyModule")

CommandApi.Option ("Module", "WellData")

CommandApi.Option ("WellDataPathMethod", "3")

CommandApi.Option ("WellDataComputePaths", "True")

CommandApi.Do()

 

'Add a WellRender Module

CommandApi.Construct ("CreateModule")

CommandApi.Option ("SourceModule", "WellData")

CommandApi.Option ("Type", "WellRender")

CommandApi.Option ("AutoConnect", "True")

CommandApi.Do()

 

 

 

Used by: CommandApi object, CreateModule, ModifyModule

 

 

See Also

Automation Model

Automation Example - WellRender