IFC to PDF Java

IFC files are Industry Foundation Classes files that are often used by Building Information Modelling programs. Such programs are helpful for model validation and fast clash detection and IFC files can include information about materials and spatial elements. In certain scenarios, you might need to convert an IFC file to PDF format. This article covers how to convert IFC files to PDF with only a few lines of code in Java.

IFC to PDF Converter – Java API Installation

Aspose.CAD for Java API can be used to work with different CAD file formats as mentioned in the supported file formats section. You can quickly access the API by downloading its JAR files from the New Releases page or with the following configurations in the pom.xml file to access the API from Aspose Repository.


        <name>Aspose Java API</name>



Convert IFC to PDF Programmatically in Java

You can convert an IFC file to a PDF document by following the steps below:

  1. Load the input IFC file.
  2. Instantiate an object of CadRasterizationOptions class.
  3. Initialize an instance of the PdfOptions class.
  4. Finally, write the output file in PDF format.

The following code sample demonstrates how to convert an IFC format file to a PDF file programmatically in Java:

Explore More Features

You can take a look at many other features of the API by visiting the documentation space.


In this article, you have understood how to convert an IFC file to PDF format programmatically in C#. It merely takes a few API calls to complete the requirements without needing to install any user interface-based application. However, the API supports the IFC2X3 dialect of IFC files at the moment. Please feel free to write to us at the forum in case of any queries.

See Also

Convert DWG to FBX in Java