Click or drag to resize
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.GXNetX
Assembly: 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.
Syntax
public static void LoadGravity(
	CGXNETCore gxNetShared,
	CDB db,
	CREG reg,
	int line,
	string data
)

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