 | CDUBreakLineToGroups Method |
Break up a line into group-lines based on a channel.
Namespace:
Geosoft.Desktop.GXNet
Assembly:
geosoft.desktop.gxnet (in geosoft.desktop.gxnet.dll) Version: 2024.2.0.25
Syntaxpublic static void BreakLineToGroups(
CDB db,
int line,
int chan,
string cl
)
public static void BreakLineToGroups(
CDB db,
int line,
int chan,
string cl
)
Public Shared Sub BreakLineToGroups (
db As CDB,
line As Integer,
chan As Integer,
cl As String
)
Public Shared Sub BreakLineToGroups (
db As CDB,
line As Integer,
chan As Integer,
cl As String
)
public:
static void BreakLineToGroups(
CDB^ db,
int line,
int chan,
String^ cl
)
public:
static void BreakLineToGroups(
CDB^ db,
int line,
int chan,
String^ cl
)
static member BreakLineToGroups :
db : CDB *
line : int *
chan : int *
cl : string -> unit
static member BreakLineToGroups :
db : CDB *
line : int *
chan : int *
cl : string -> unit
Parameters
- db
- Type: GeoEngine.Core.GXNetCDB
Database - line
- Type: SystemInt32
Line to be broken up [<define>DB_LOCK_READONLY</define>] - chan
- Type: SystemInt32
Channel containing line numbers [<define>DB_LOCK_READONLY</define>] - cl
- Type: SystemString
Class name for new group lines (can be "")
Remarks
The original line will be deleted.
This is similar to BreakLine_DU, but the output lines
are "group" lines, without the line type letters at the
start. (See db.gxh for information of Group Lines).
All channels are associated with each group line, and the
input class name is assigned to each group.
Class names for
groups ensure that (for instance) if you add a new channel to
one group of a given class, it will get added to all other
groups in the same class. If the class name is left empty, then
this will NOT be true. (Groups without class names are treated
as isolated entities for the purposes of channel loading).
See Also