Unable to save dxf

Discuss and ask questions about CAD .NET library.

Moderators: SDS, support, admin

Post Reply
DPietraroia
Posts: 3
Joined: 08 Jan 2010, 13:02

Unable to save dxf

Post by DPietraroia » 08 Jan 2010, 13:19

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.

support
Posts: 3272
Joined: 30 Mar 2005, 11:36
Contact:

Re: Unable to save dxf

Post by support » 08 Jan 2010, 14:27

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.
Technical Support E-mail: support@cadsofttools.com
Chat support on Skype: cadsofttools.support

DPietraroia
Posts: 3
Joined: 08 Jan 2010, 13:02

Re: Unable to save dxf

Post by DPietraroia » 08 Jan 2010, 16:29

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

support
Posts: 3272
Joined: 30 Mar 2005, 11:36
Contact:

Re: Unable to save dxf

Post by support » 08 Jan 2010, 17:53

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.
Technical Support E-mail: support@cadsofttools.com
Chat support on Skype: cadsofttools.support

DPietraroia
Posts: 3
Joined: 08 Jan 2010, 13:02

Re: Unable to save dxf

Post by DPietraroia » 01 Jun 2010, 14:03

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

support
Posts: 3272
Joined: 30 Mar 2005, 11:36
Contact:

Re: Unable to save dxf

Post by support » 03 Jun 2010, 18:53

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.
Technical Support E-mail: support@cadsofttools.com
Chat support on Skype: cadsofttools.support

Post Reply