Aspose.CAD 20.1.0

Aspose.CAD for .NET is a class library that enables your applications to perform a great range of drawings processing tasks. Aspose.CAD supports DXF, DWG, DGN, DWF, IFC, STL, DWT, IGES, PLT, CFF2, OBJ and other CAD formats. You can convert them to: PDF, BMP, GIF, JPG, JPEG, JPEG2000, PNG, WMF, TIFF, PSD, SVG formats. With Aspose.CAD you can generate, modify, convert, render drawings without utilizing Autodesk AutoCAD®.

Aspose.CAD for .NET is well documented to help you create your solutions on different platforms.

Rich Set of Features

Aspose.CAD for .NET features can be divided into three main areas:
- Export and Conversions: High quality conversions to PDF, BMP, GIF, JPG, JPEG, JPEG2000, PNG, WMF, TIFF, PSD, SVG formats
- Document Object Model manipulations: Programmatic access through a rich API to all drawing elements allows to modify, extract, copy, split, join, and replace drawing content
- CAD Format switchings: load any supported file format and save it as DXF, DWG or DWF

Platform Independence

You can use Aspose.CAD for .NET to build any type of a 32-bit or 64-bit .NET application including .NET Framework with ASP.NET, WCF, WinForms or .NET Core stack.

Performance and Scalability

Aspose.CAD is designed to perform great both on a server or client. Aspose.CAD is a single .NET assembly that can be deployed with any .NET application by simply copying it. You do not have to worry about any other services or modules. You can literally generate thousands of images in minutes with Aspose.CAD and that involves opening a drawing, modifying content or populating it with data and saving it. Even most of the complex drawings are opened and saved on a P4 2.4Ghz 1Gb RAM machine in a second.

Aspose.CAD is multi-thread safe as long as only one thread works on a drawing at a time. It is a typical scenario to have one thread working on one drawing. Different threads can safely work on different drawings at the same time.

Notice

*In case you work with DWG/DXF files that contain PDF underlays, you have to additionally install Aspose.PDF so that underlays could be rendered.


Free support for Aspose.CAD for .NET is provided on our support forum:
https://forum.aspose.com/
and on StackOverflow:
https://stackoverflow.com/questions/tagged/aspose.cad

Install-Package Aspose.CAD -Version 20.1.0
dotnet add package Aspose.CAD --version 20.1.0
<PackageReference Include="Aspose.CAD" Version="20.1.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Aspose.CAD --version 20.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Aspose.CAD for .NET allows you to work with 3D solids (Conic, Sphere, Torus, Cylinder, Box, Wedge), wired models, basic cube positions, 3D faces, surfaces as well as meshes.

AutoCAD File Processing Features

  • Adjust CAD drawing size.
  • Render entire drawing in DWF as a PDF.
  • Export a DWG file with embedded DGN.
  • Export embedded OLE objects from DWG.
  • Export AutoCAD DXF 2010 to PDF.
  • Export specific DXF layer to PDF & images.
  • Export IFC to PNG format.
  • Export IGES to PDF format.
  • Export PLT to PDF & images.
  • Export SLT to PNG format.
  • Export 3D AutoCAD images to PDF format.
  • Export DGN to PDF & raster images.
  • Convert CF2 to PDF.
  • Convert DXF & DWG to raster images.
  • Convert all CAD layers to separate images.
  • Search text in DWG drawings.
  • Access & update hyperlink properties in a DWG.
  • Add Text or MText watermark to a DWG.
  • Load & save DWT files.
  • Distinguish among DWG & DWT file formats.
  • Supports all widespread 2D entities of DXF.
  • Highly customizable CAD to PDF & image conversion process.
  • Enable tracking for CAD rendering.

Read AutoCAD File Formats

DWG Release 11, 12, 13, 14, DWG 2000/2000i/2002, DWG 2004/2005/2006, DWG 2010/2011/2012, DWG 2013/2014/2015/2016, AutoCADĀ® DXF, Autodesk DWF, DGN, Industry Foundation Classes (IFC), STereoLithography (STL)

Save AutoCAD Drawings As

Fixed Layout: PDF
Raster Images: PNG, BMP, TIFF, JPEG, GIF

Platform Independence

Aspose.CAD for .NET supports, .NET framework (ASP.NET applications & Windows applications) as well as .NET code. It supports any 32-bit or 64-bit operating system where .NET or Mono framework is installed, this includes but is not limited to, Microsoft Windows desktop (XP, Vista, 7, 8, 10), Microsoft Windows Server (2003, 2008, 2012), Microsoft Azure, Linux (Ubuntu, OpenSUSE, CentOS and others), and Mac OS X.

Getting Started with Aspose.CAD for .NET

Are you ready to give Aspose.CAD for .NET a try? Simply execute Install-Package Aspose.CAD from Package Manager Console in Visual Studio to fetch the NuGet package. If you already have Aspose.CAD for .NET and want to upgrade the version, please execute Update-Package Aspose.CAD to get the latest version.

Add Watermark to an AutoCAD File using C#

You can execute below code snippet to see how the API performs in your environment or check the GitHub Repository for other common usage scenarios.

CadText text = new CadText();
text.DefaultValue = "Watermark text";
text.TextHeight = 40;
text.FirstAlignment = new Cad3DPoint(300, 40);

Export DXF Drawing to PDF using C#

Aspose.CAD for .NET enables your applications to perform various export operations on AutoCAD files. It supports to read and export ACAD Proxy Entities as well as IGES files. Similarly you can load a DGN file and convert it to a raster image or PDF file format.

The following example highlights, how to export DXF file to PDF format using simple C# code:

var rasterizationOptions = new CadRasterizationOptions();
rasterizationOptions.PageWidth = 500;
rasterizationOptions.PageHeight = 500;

rasterizationOptions.Layouts = new string[] { "Model" };
var pdfOptions = new PdfOptions();
pdfOptions.VectorRasterizationOptions = rasterizationOptions;
cadImage.Save(dir + "output.pdf", pdfOptions);

Product Page | Documentation | API Reference | Code Examples | Blog | Free Support | Temporary License

Aspose.CAD for .NET allows you to work with 3D solids (Conic, Sphere, Torus, Cylinder, Box, Wedge), wired models, basic cube positions, 3D faces, surfaces as well as meshes.

AutoCAD File Processing Features

  • Adjust CAD drawing size.
  • Render entire drawing in DWF as a PDF.
  • Export a DWG file with embedded DGN.
  • Export embedded OLE objects from DWG.
  • Export AutoCAD DXF 2010 to PDF.
  • Export specific DXF layer to PDF & images.
  • Export IFC to PNG format.
  • Export IGES to PDF format.
  • Export PLT to PDF & images.
  • Export SLT to PNG format.
  • Export 3D AutoCAD images to PDF format.
  • Export DGN to PDF & raster images.
  • Convert CF2 to PDF.
  • Convert DXF & DWG to raster images.
  • Convert all CAD layers to separate images.
  • Search text in DWG drawings.
  • Access & update hyperlink properties in a DWG.
  • Add Text or MText watermark to a DWG.
  • Load & save DWT files.
  • Distinguish among DWG & DWT file formats.
  • Supports all widespread 2D entities of DXF.
  • Highly customizable CAD to PDF & image conversion process.
  • Enable tracking for CAD rendering.

Read AutoCAD File Formats

DWG Release 11, 12, 13, 14, DWG 2000/2000i/2002, DWG 2004/2005/2006, DWG 2010/2011/2012, DWG 2013/2014/2015/2016, AutoCADĀ® DXF, Autodesk DWF, DGN, Industry Foundation Classes (IFC), STereoLithography (STL)

Save AutoCAD Drawings As

Fixed Layout: PDF
Raster Images: PNG, BMP, TIFF, JPEG, GIF

Platform Independence

Aspose.CAD for .NET supports, .NET framework (ASP.NET applications & Windows applications) as well as .NET code. It supports any 32-bit or 64-bit operating system where .NET or Mono framework is installed, this includes but is not limited to, Microsoft Windows desktop (XP, Vista, 7, 8, 10), Microsoft Windows Server (2003, 2008, 2012), Microsoft Azure, Linux (Ubuntu, OpenSUSE, CentOS and others), and Mac OS X.

Getting Started with Aspose.CAD for .NET

Are you ready to give Aspose.CAD for .NET a try? Simply execute Install-Package Aspose.CAD from Package Manager Console in Visual Studio to fetch the NuGet package. If you already have Aspose.CAD for .NET and want to upgrade the version, please execute Update-Package Aspose.CAD to get the latest version.

Add Watermark to an AutoCAD File using C#

You can execute below code snippet to see how the API performs in your environment or check the GitHub Repository for other common usage scenarios.

CadText text = new CadText();
text.DefaultValue = "Watermark text";
text.TextHeight = 40;
text.FirstAlignment = new Cad3DPoint(300, 40);

Export DXF Drawing to PDF using C#

Aspose.CAD for .NET enables your applications to perform various export operations on AutoCAD files. It supports to read and export ACAD Proxy Entities as well as IGES files. Similarly you can load a DGN file and convert it to a raster image or PDF file format.

The following example highlights, how to export DXF file to PDF format using simple C# code:

var rasterizationOptions = new CadRasterizationOptions();
rasterizationOptions.PageWidth = 500;
rasterizationOptions.PageHeight = 500;

rasterizationOptions.Layouts = new string[] { "Model" };
var pdfOptions = new PdfOptions();
pdfOptions.VectorRasterizationOptions = rasterizationOptions;
cadImage.Save(dir + "output.pdf", pdfOptions);

Product Page | Documentation | API Reference | Code Examples | Blog | Free Support | Temporary License

Release Notes

https://docs.aspose.com/display/CADNET/Aspose.CAD+for+.NET+20.1+-+Release+Notes

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
20.1.0 457 1/25/2020
19.9.0 2,680 10/7/2019
19.7.0 1,109 8/10/2019
19.5.0 1,497 5/19/2019
19.2.0 1,047 3/14/2019
18.12.0 2,957 1/9/2019
18.8.1 741 11/28/2018
18.8.0 1,647 9/3/2018
18.3.0 4,679 3/9/2018
17.12.0 1,023 12/21/2017
17.9.0 2,165 9/23/2017
17.4.0 1,507 4/28/2017
17.2.0 729 2/20/2017
16.12.1 660 12/29/2016
16.12.0 538 12/16/2016
16.10.0 561 10/19/2016
1.1.0 1,130 8/3/2016
1.0.0 1,001 5/24/2016