Import and Export
Previous Topic  Next Topic 

Import and Export

 

Import

 

        // Import DXF format

string path = "Filename.dxf";

       fDrawCtrl1.Document.OpenFile(path);

 

        // Import 3DS format

string path = "Filename.3ds";

       fDrawCtrl1.Document.OpenFile(path);

 

        // Import wavefront format

string path = "Filename.obj";

       fDrawCtrl1.Document.OpenFile(path);

 

 

Export

 

        // Export DXF format

 string path="filename.dxf";

        fDrawCtrl1.Document.WriteDxf(path, DXFVersion.ver2000);

 

        // Export 3DS format

       string path="filename.3ds";

        fDrawCtrl1.Document.Write3ds(path);        

 

        // Export WaveFront format

       string path="filename.obj";

        fDrawCtrl1.Document.WriteObj(path);