Click or drag to resize
CEXPCreate Method
This method creates an EXP object.

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
Expressions are strings that contain C-like math to be applied to channels in a database. For example, following an expression: :: "@a = mag-64000; @b = gravity*100; $sRatio = @a/@b; MULT = @a *@b;" Rules: ; terminates a sub-expression @ prefix to a temporary name, which is a double precision floating point number to be used later in the same expression. $ prefix to a local GX variable name. Such names will be evaluated to the variable value at the time Create_EXP is called. All other tokens are assumed to be channel names.
Syntax
public static CEXP Create(
	CGXNETCore gxNetShared,
	CDB db,
	string formula,
	int unused
)

Parameters

gxNetShared
Type: GeoEngine.Core.GXNetXCGXNETCore
A shared CGXNETCore
db
Type: GeoEngine.Core.GXNetXCDB
Database Object
formula
Type: SystemString
Expression using channel names
unused
Type: SystemInt32
Legacy parameter, no longer used.

Return Value

Type: CEXP
EXP Object
See Also