Click or drag to resize

CEDOC.CreateNewGMS3D Method

Creates a new GMSYS 3D Model into the workspace, flags as new.

Namespace:  Geosoft.Desktop.GXNet
Assembly:  geosoft.desktop.gxnet (in geosoft.desktop.gxnet.dll) Version: 2024.2.0.25
Syntax
public static CEDOC CreateNewGMS3D(
	string name,
	int nx,
	int ny,
	int type
)

public static CEDOC CreateNewGMS3D(
	string name,
	int nx,
	int ny,
	int type
)

Parameters

name
Type: System.String
Document to load.
nx
Type: System.Int32
X Size
ny
Type: System.Int32
Y Size
type
Type: System.Int32
<define>GMS3D_MODELTYPE</define>

Return Value

Type: CEDOC
Handle to the newly created edited model.
Remarks
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.
See Also