Failed to Convert IFC to PDF format


I am trying to convert (428.0 KB) file to PDF and getting ‘Object reference not set to an instance of an object.’ error. I am using below code snippet

using (Aspose.CAD.Image image = Aspose.CAD.Image.Load(inFilePath))
Aspose.CAD.ImageOptions.PdfOptions pdfSaveOptions = new Aspose.CAD.ImageOptions.PdfOptions();

using (Stream stream = new FileStream(outPath, FileMode.CreateNew))

                    image.Save(stream, pdfSaveOptions);


Looking forward to hear from you.



I have worked with the file shared by you and have created an issue with ID CADNET-1016 in our issue tracking system to further investigate and resolve the issue. This thread has been linked with the issue so that you may be notified once the issue will be fixed.