![](../icons/Help.png) | CDUDistance3D Method |
Create a distance channel from XY or XYZ with direction options.
Available since Oasis montaj version: 8.1
License: Available to anyone with an Oasis Montaj license.
Namespace: Geosoft.Desktop.GXNetXAssembly: geosoft.desktop.gxnetx (in geosoft.desktop.gxnetx.dll)
Syntaxpublic static void Distance3D(
CGXNETCore gxNetShared,
CDB db,
int line,
int x_ch,
int y_ch,
int z_ch,
int type,
int o_ch
)
Public Shared Sub Distance3D (
gxNetShared As CGXNETCore,
db As CDB,
line As Integer,
x_ch As Integer,
y_ch As Integer,
z_ch As Integer,
type As Integer,
o_ch As Integer
)
public:
static void Distance3D(
CGXNETCore^ gxNetShared,
CDB^ db,
int line,
int x_ch,
int y_ch,
int z_ch,
int type,
int o_ch
)
static member Distance3D :
gxNetShared : CGXNETCore *
db : CDB *
line : int *
x_ch : int *
y_ch : int *
z_ch : int *
type : int *
o_ch : int -> unit
Parameters
- gxNetShared
- Type: GeoEngine.Core.GXNetXCGXNETCore
A shared CGXNETCore - db
- Type: GeoEngine.Core.GXNetXCDB
Database - line
- Type: SystemInt32
Line symbol - x_ch
- Type: SystemInt32
X channel [<define>DB_LOCK_READONLY</define>] - y_ch
- Type: SystemInt32
Y channel [<define>DB_LOCK_READONLY</define>] - z_ch
- Type: SystemInt32
Z channel [<define>DB_LOCK_READONLY</define>] (can be <define>NULLSYMB</define>) - type
- Type: SystemInt32
<define>DU_DISTANCE_CHANNEL_TYPE</define> - o_ch
- Type: SystemInt32
Output Distance channel [<define>DB_LOCK_READWRITE</define>]
See Also