Hide menu
Loading...
Searching...
No Matches

Writes supported formats, see Import and Export section. More...

Inheritance diagram for cadex.ModelData.ModelWriter:
cadex.BaseObject

Public Member Functions

 ModelWriter (global::System.IntPtr cPtr, bool cMemoryOwn)
 
 ModelWriter ()
 Constructor.
 
cadex.ModelData.ModelWriterParameters Parameters ()
 Returns Writer parameters.
 
void SetParameters (cadex.ModelData.ModelWriterParameters theParameters)
 Sets Writer parameters.
 
bool Write (cadex.ModelData.Model theModel, cadex.UTF16String theFilePath)
 Writes the specified model to the file at the specified path. Automatically detects suitable format based on the file extension.
 
cadex.ProgressStatus ProgressStatus ()
 
void SetProgressStatus (cadex.ProgressStatus theStatus)
 
- Public Member Functions inherited from cadex.BaseObject
 BaseObject (global::System.IntPtr cPtr, bool cMemoryOwn)
 
void Dispose ()
 
bool IsNull ()
 
ulong Id ()
 Return unique identifier of public object.
 
bool IsEqual (cadex.BaseObject theObj)
 
override int GetHashCode ()
 
override bool Equals (System.Object o)
 

Static Public Member Functions

static cadex.ModelData.ModelWriter Cast (cadex.BaseObject theBase)
 

Protected Member Functions

override void Dispose (bool disposing)
 

Detailed Description

Writes supported formats, see Import and Export section.

Examples
sheet_metal/unfolder/Program.cs, and sheet_metal/unfolder/main.cxx.

Member Function Documentation

◆ Dispose()

override void cadex.ModelData.ModelWriter.Dispose ( bool disposing)
inlineprotectedvirtual

Reimplemented from cadex.BaseObject.

◆ Write()

bool cadex.ModelData.ModelWriter.Write ( cadex.ModelData.Model theModel,
cadex.UTF16String theFilePath )
inline

Writes the specified model to the file at the specified path. Automatically detects suitable format based on the file extension.

Returns true if the writing process succeeded, false otherwise.

Examples
sheet_metal/unfolder/main.cxx.