.NET Core and IFC rendering support available in Aspose.CAD 19.5

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

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

Working with IFC Files

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 a 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

DWG has been one of the widely used file format 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 vector image and metadata for representation of 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 follow 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 enhancement carried out in 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.