Free Support Forum -

Error when converting IFC to PDF

When converting the IFC sample attached to PDF I get an error and no output file is produced.

Using - aspose-cad-20.4-jdk16.jar

Using this code:
com.aspose.cad.Image image = com.aspose.cad.Image.load(inputPath);
CadRasterizationOptions rasterizationOptions = new CadRasterizationOptions();
PdfOptions pdfOptions = new PdfOptions();
pdfOptions.setVectorRasterizationOptions(rasterizationOptions);, pdfOptions);

Error when converting IFC2PDF:
image.png (15.1 KB)

Attached IFC file here: (340.8 KB)


Using Aspose.CAD for Java 20.6, I have been able to reproduce the issue as well. A ticket with ID CADJAVA-750 has been created to further investigate and resolve the issue. We will share the good news with you as soon as the issue will be addressed.