![](../icons/Help.png) | CDUSortIndex2 Method |
Create an ordered index from two channels
Available since Oasis montaj version: 5.0
License: Available to anyone with an Oasis Montaj license.
Namespace: Geosoft.Desktop.GXNetXAssembly: geosoft.desktop.gxnetx (in geosoft.desktop.gxnetx.dll)
Syntaxpublic static void SortIndex2(
CGXNETCore gxNetShared,
CDB db,
int line,
int ch1,
int sort1,
int ch2,
int sort2,
int in_ch
)
Public Shared Sub SortIndex2 (
gxNetShared As CGXNETCore,
db As CDB,
line As Integer,
ch1 As Integer,
sort1 As Integer,
ch2 As Integer,
sort2 As Integer,
in_ch As Integer
)
public:
static void SortIndex2(
CGXNETCore^ gxNetShared,
CDB^ db,
int line,
int ch1,
int sort1,
int ch2,
int sort2,
int in_ch
)
static member SortIndex2 :
gxNetShared : CGXNETCore *
db : CDB *
line : int *
ch1 : int *
sort1 : int *
ch2 : int *
sort2 : int *
in_ch : int -> unit
Parameters
- gxNetShared
- Type: GeoEngine.Core.GXNetXCGXNETCore
A shared CGXNETCore - db
- Type: GeoEngine.Core.GXNetXCDB
Database - line
- Type: SystemInt32
Line symbol - ch1
- Type: SystemInt32
Sort by this channel [<define>DB_LOCK_READONLY</define>] - sort1
- Type: SystemInt32
<define>DU_SORT</define> - ch2
- Type: SystemInt32
Then by this channel [<define>DB_LOCK_READONLY</define>] - sort2
- Type: SystemInt32
<define>DU_SORT</define> - in_ch
- Type: SystemInt32
Output index channel (should be int) [<define>DB_LOCK_READWRITE</define>]
See Also