Hi guys! I am back with an all-new blog to give you a walk through of the latest Aspose.CAD for .NET/Java 19.5. As a standard practice, the Aspose team publishes both .NET and Java-based API having the same features sets simultaneously. I will be giving you an overview of what new features have been included in API along with example code to use them.

One important feature included in Aspose.CAD for .NET 19.5 is support for .NET Core. With this support available, now API can work with the latest Visual Studio 2017 on onward environments that support .NET Core.

Work with IFC Files in C# and Java

Files with IFC extension are referred to as Industry Foundation Classes (IFC) and establishes international standards to import and export building objects and their properties. This file format provides interoperability between different software applications. IFC can hold data for geometry, calculation, quantities, facility management, pricing, etc. for many different professions (architect, electrical, HVAC, structural, terrain, etc.).

Aspose.CAD allows developers to export an IFC file to PNG or other formats. In the following example, an IFC file is being processed and exported to PNG using IfcRasterizationOptions and PngOptions classes.

The equivalent Java implementation for this is as under.

Export DWG to SVG in C# and Java

DWG has been one of the widely used file formats by a range of applications and has a robust file structure. DWG is a binary file format, it is not human-readable like the plain ASCII DXF file format. DWG files usually include information about the image coordinates (both in 2D and 3D) and any associated metadata. It contains the vector image and metadata for the representation of the contents of CAD files.

Aspose.CAD allows loading AutoCAD drawings in DWG format and converting them to SVG. The following C# based example loads the DWG and export to SVG.

The equivalent Java implementation for this is as under:

Enabling Tracking for CAD Rendering Process

Aspose.CAD has introduced a series of classes and supporting enumeration fields to assist with the tracking of CAD rendering process. With these changes in place, the CAD to PDF conversion can now be achieved as following while enabling the tracking.

The equivalent Java implementation for this is as under:

You can check the official product release notes for many other issues and enhancements carried out in the product as well. Here you can get the detail!

When time allows you can check out API examples at Github, talk about this release and other API related issues in our forum.