We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Error converting dwg to pdf

hi dear.

Im getting this exception trying to convert dwg files to pdf:
The dwg version isn’t valid. Only R2004 and R2010 version are currently supported

There are any version of aspose.image for .net that supports higher versions of dwg than 2010?

Thanks

Hi Vander,


Thank you for considering Aspose APIs. Aspose.Imaging for .NET currently supports the following DWG revisions.

  • DWG 2004 version 16.0 release 18
  • DWG 2005 version 16.1
  • DWG 2010 version 18.0
  • DWG 2013 version 19.0

If you are seeing unsupported exception while loading any of the above revisions of AutoCAD DWG then please share such sample for further investigation.

Hello,

I’m trying to convert an 2013 version dwg file to pdf, and receive the following error:
Aspose.Imaging.Exceptions.ImageLoadException: Image loading failed. —> Aspose.Imaging.Exceptions.ImageFormats.CadException: The dwg version isn’t valid. Only R2004 and R2010 version are currently supported.

According to your post i expect the 2013 format to be convertible.

Any suggestions ?

Hi Kenan,

Can you please share your input DWG file and your code to reproduce the issue?

Best Regards,