Page 1 of 1

Unable to save dxf

Posted: 08 Jan 2010, 13:19
by DPietraroia
I'm totally unable to save dxf in cadimport.net version 6.3.2942.31653 using editorControl.savetodxf().
Even your editor control demo doesnt work.

Re: Unable to save dxf

Posted: 08 Jan 2010, 14:27
by support
Hello.
Editor control demo builded on CADImport.dll 6.3.2942.31653 is ok. Please specify that file type you tried to save to dxf or it was drawing created by you? Any exception messages? Did you receive empty file after saving or none?

Alexander.

Re: Unable to save dxf

Posted: 08 Jan 2010, 16:29
by DPietraroia
I tried with pre existing dwg and dxf files.
I open them in my software but i can't save them to dxf using the editorControl.savetoDXF() method.
The same in the editor control demo.
No files are created and i don't receive any exeption message.

Dario

Re: Unable to save dxf

Posted: 08 Jan 2010, 17:53
by support
If I understand correctly, you have tried to run EditorControlDemo, open file (drawing displayed on form ok). But when you choose save to dxf - nothing happens. If so, please try to save in other demo applications from CAD Import .NET package and let us know about results. Also, please send any such file to support@cadsofttools.com and we will try saving with your file.

Alexander.

Re: Unable to save dxf

Posted: 01 Jun 2010, 14:03
by DPietraroia
I figured out how to do it.
In order to export the dxf file i need to select the items to export.
Then it works.

So my next question is:
How do i implement an automatic "select all" function.
I didn't succed in drawing automatically a selection rectangle ove the whole drawing.

Regards

Re: Unable to save dxf

Posted: 03 Jun 2010, 18:53
by support
Hello.
You don't need to select anything to save DXF file. cadEditorControl.SaveAsDXF method works as well as cadViewerControl.SaveAsDXF. Please use the compiled demo from package or compile the project and try the method.

Alexander.