Click or drag to resize
CDUMath Method
Apply an expression to the database

Available since Oasis montaj version: 5.0.0
License: Available to anyone with an Oasis Montaj license.  

Namespace: Geosoft.Desktop.GXNet
Assembly: geosoft.desktop.gxnet (in geosoft.desktop.gxnet.dll)
Notes
The MATH_DU method will READWRITE lock channels on the left side of expressions and READONLY lock channels on the right side of expressions. Channels are unlocked before returning. Therefore, channels on the left side of an expression cannot be locked READONLY because the Math_DU attempt to lock the channel READWRITE will fail. Similarly, channels on the right side of an expression cannot be locked READWRITE because Math_DU's attempt to lock the channels READONLY will fail. If this is confusing, just make sure no channels used in the expression are locked before calling Math_DU.
Syntax
public static void Math(
	CDB oDB1,
	int i2,
	CEXP oEXP3
)

Parameters

oDB1
Type: GeoEngine.Core.GXNetCDB
Database
i2
Type: SystemInt32
line handle
oEXP3
Type: Geosoft.Desktop.GXNetCEXP
math expression object (EXP)
See Also