Free Support Forum - aspose.com

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();
rasterizationOptions.setPageWidth(1600);
rasterizationOptions.setPageHeight(1600);
PdfOptions pdfOptions = new PdfOptions();
pdfOptions.setVectorRasterizationOptions(rasterizationOptions);
image.save(outputPath, pdfOptions);

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

Attached IFC file here:
sample.zip (340.8 KB)

@simon.wiseman,

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.