Cad file DWG and DXF

I need to update text in DGW file.

I was able to Load DGW file and find the CadText / CadMText objects, but can not save or export the file.

Other way I think Is to work on the DXF (which is text file). Again, I can not find the way to export to DXF format.

Basic code sample will be very helpful.


Hi Arnon,

Thank you for your inquiry. Please visit the following links for details.

Feel free to contact us in case of further query or comments.

Thanks about the reply. The samples export to PDF.
I need to save the DWG file after the process.

The Product description at say:
Export Image File Formats : Convert images to DXF, Convert images to DWG,
but the Save() throw NotImplementedException.

Please advise.


Hi Arnon,

Thank you for writing us back.

This is to update you that the exporting images to DXF/DWG file format is not possible. However, we have logged a feature request in our system with IDs CAD-97, CAD-98. Our product team will further look into it. We will update you about the progress via this forum thread.

CAD-97: Exporting a DXF file to image format.
CAD-98: Exporting a DWG file to image format.

We are sorry for the inconvenience caused.

The issues you have found earlier (filed as ) have been fixed in this Aspose.Words for JasperReports 18.3 update.