![](../icons/Help.png) | CDULoadGravity Method |
Load a gravity survey file
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)
Notes
See GRAVITY.DAT for a description of the file format.
Existing data in the line will be replaced.
The following REG parameters will be set if they appear
in the data file:
default
OPERATOR ""
DATE none
INSTRUMENT ""
INSTRUMENT_SCALE "1.0"
BASE_GRAVITY "0.0"
FORMULA "1967"
GMT_DIFF "0.0"
DISTANCE_UNITS "m"
DENSITY_EARTH "2.67"
DENSITY_WATER "1.0"
DENSITY_ICE "0.95"
MAP_PROJECTION ""
If the corresponding constant is not specified and the
REG already has the constant defined, it is not changed.
If the constant is not defined and it is not already in
the REG, the indicated default will be set.
Syntaxpublic static void LoadGravity(
CGXNETCore gxNetShared,
CDB db,
CREG reg,
int line,
string data
)
Public Shared Sub LoadGravity (
gxNetShared As CGXNETCore,
db As CDB,
reg As CREG,
line As Integer,
data As String
)
public:
static void LoadGravity(
CGXNETCore^ gxNetShared,
CDB^ db,
CREG^ reg,
int line,
String^ data
)
static member LoadGravity :
gxNetShared : CGXNETCore *
db : CDB *
reg : CREG *
line : int *
data : string -> unit
Parameters
- gxNetShared
- Type: GeoEngine.Core.GXNetXCGXNETCore
A shared CGXNETCore - db
- Type: GeoEngine.Core.GXNetXCDB
Database - reg
- Type: GeoEngine.Core.GXNetXCREG
REG to hold constant data - line
- Type: SystemInt32
Line in which to load data - data
- Type: SystemString
Gravity data file
See Also