 | 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
Syntaxpublic static CEDOC CreateNewGMS3D(
string name,
int nx,
int ny,
int type
)
public static CEDOC CreateNewGMS3D(
string name,
int nx,
int ny,
int type
)
Public Shared Function CreateNewGMS3D (
name As String,
nx As Integer,
ny As Integer,
type As Integer
) As CEDOC
Public Shared Function CreateNewGMS3D (
name As String,
nx As Integer,
ny As Integer,
type As Integer
) As CEDOC
public:
static CEDOC^ CreateNewGMS3D(
String^ name,
int nx,
int ny,
int type
)
public:
static CEDOC^ CreateNewGMS3D(
String^ name,
int nx,
int ny,
int type
)
static member CreateNewGMS3D :
name : string *
nx : int *
ny : int *
type : int -> CEDOC
static member CreateNewGMS3D :
name : string *
nx : int *
ny : int *
type : int -> CEDOC
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:
CEDOCHandle 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