Click or drag to resize

CEDOCCreateNewGMS3D Method

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

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

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.
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