Can I read and write dwg file

Please can I read and write dwg file using aspose by c#

@Abdallah501,
Hello.
You can read DWG file and we are working on the option to write it. Writing to DXF is somewhat more stable now, here is the example how to do it:

using (CadImage cadImage = (CadImage)Image.Load("fileName.dwg"))
{
    cadImage.Save("result.dxf", new DxfOptions());
}

thanks for your answer ,
can i read and write ifc also?

@Abdallah501,
reading of IFC available via:

using (IfcImage ifcImage = (IfcImage)Aspose.CAD.Image.Load(fileName))
{

}

Unfortunately, we don’t have support for writing to IFC now. We have logged corresponding CADNET-9351 issue to implement it.

The issues you have found earlier (filed as CADNET-9351) have been fixed in this Aspose.CAD for .NET 23.11 update. This message was posted using Bugs notification tool by oleksii.gorokhovatskyi