Click or drag to resize
CEDOCCreateNewGMS3D Method
Creates a new GMSYS 3D Model into the workspace, flags as new.

Available since Oasis montaj version: 5.0
Limitations: May not be available if running outside of a Oasis Montaj or from a command line program.  
License: Available to specially licensed modules.  

Namespace: Geosoft.Desktop.GXNetX
Assembly: geosoft.desktop.gxnetx (in geosoft.desktop.gxnetx.dll)
Notes
See Load_EDOC. This is used for brand new documents, it also sets an internal flag such that if on closing the user chooses not to save changes, the document is deleted thus keeping the project folders clean.
Syntax
public static CEDOC CreateNewGMS3D(
	CGXNETCore gxNetShared,
	string name,
	int nx,
	int ny,
	int type
)

Parameters

gxNetShared
Type: GeoEngine.Core.GXNetXCGXNETCore
A shared CGXNETCore
name
Type: SystemString
Document to load.
nx
Type: SystemInt32
X Size
ny
Type: SystemInt32
Y Size
type
Type: SystemInt32
<define>GMS3D_MODELTYPE</define>

Return Value

Type: CEDOC
Handle to the newly created edited model.
See Also