Aspose.CAD-Cloud 24.5.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package Aspose.CAD-Cloud --version 24.5.0                
NuGet\Install-Package Aspose.CAD-Cloud -Version 24.5.0                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Aspose.CAD-Cloud" Version="24.5.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Aspose.CAD-Cloud --version 24.5.0                
#r "nuget: Aspose.CAD-Cloud, 24.5.0"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Aspose.CAD-Cloud as a Cake Addin
#addin nuget:?package=Aspose.CAD-Cloud&version=24.5.0

// Install Aspose.CAD-Cloud as a Cake Tool
#tool nuget:?package=Aspose.CAD-Cloud&version=24.5.0                

alternate text is missing from this package README image Nuget Nuget GitHub license GitHub last commit

AutoCAD File Processing .NET Cloud REST API

Aspose.CAD Cloud is a true REST API that enables you to perform a wide range of CAD and BIM drawings processing operations including manipulation, export and conversion in a cloud, with zero initial costs.

This repository contains Aspose.CAD Cloud .NET SDK source code which is written in C#. This SDK allows you to work with Aspose.CAD Cloud REST APIs in your .NET applications quickly and easily, with zero initial cost and gain all benefits of strong types and IDE highlights.

CAD Processing Features

  • Export CAD drawings to other file formats.
  • Get image properties of a CAD drawing.
  • Change the scale of an AutoCAD sketch.
  • Flip and rotate a CAD image.
  • Upload or download CAD drawings to the cloud storage.
  • Copy, move, delete CAD files from the cloud storage.

Read & Write CAD Formats

DXF (R12/2007/2010)

Save CAD As

Fixed Layout: PDF (as a vector and as a raster) Images: BMP, PNG, JPG, JPEG, JPEG2000, TIF, TIFF, PSD, GIF, WMF

Read CAD Formats

DWG (13, 14, 2000, 2004), DWG (2010, 2013, 2014), DWG (2015, 2017, 2018), DWT (13, 14, 2000, 2004), DWT (2010, 2013, 2014), DWT (2015, 2017, 2018), DWF, DGN v7, IGES (IGS), PLT, Industry Foundation Classes (IFC), STereoLithography (STL)

See API Reference for full API specification.

How to use the SDK?

The complete source code is available in this repository folder. You can either directly use it in your project via source code or get NuGet distribution (recommended). For more details, please visit our documentation website.

Prerequisites

To use Aspose CAD for Cloud .NET SDK you need to register an account with Aspose Cloud and lookup/create App Key and SID at Cloud Dashboard. There is free quota available. For more details, see Aspose Cloud Pricing.

Installation

Install Aspose.CAD-Cloud via NuGet

From the command line:

nuget install Aspose.CAD-Cloud From Package Manager:

PM> Install-Package Aspose.CAD-Cloud From within Visual Studio:

  1. Open the Solution Explorer.
  2. Right-click on a project within your solution.
  3. Click on Manage NuGet Packages...
  4. Click on the Browse tab and search for "Aspose.CAD-Cloud".
  5. Click on the Aspose.CAD-Cloud package, select the appropriate version in the right-tab and click Install.

Convert DWG to PNG in C# .Net

	// Get your ClientId and ClientSecret from https://dashboard.aspose.cloud (free registration required).
	var cadApi = new CadApi("MY_CLIENT_ID", "MY_CLIENT_SECRET");
	using (FileStream file = new FileStream(@"C:\files\drawing.dxf", FileMode.Open, System.IO.FileAccess.Read))
	{
	    var msFile = new MemoryStream();
	    await file.CopyToAsync(msFile);
	    msFile.Seek(0, System.IO.SeekOrigin.Begin);
	
	    var request = new PutDrawingBmpRequest(msFile);
	    var res = cadApi.PutDrawingBmp(request);
	    using (FileStream fileStream = new FileStream("result.bmp", FileMode.Create, FileAccess.Write))
	    {
	        res.CopyTo(fileStream);
	    }
	}

Tests contain various examples of using the SDK.

Dependencies

SDK Advanages

  • SDK is fully in sync with the API, all missing methods are added
  • Classes, methods and properties have comments and are IDE-friendly
  • Integrated security
  • Usage of Request/Response classes to represent long lists of parameters. This allows for cleaner code and easier backwards-compatibility going forward

Licensing

All Aspose.CAD for Cloud SDKs, helper scripts and templates are licensed under MIT License.

.NET Java PHP Python Ruby Node.js
GitHub GitHub GitHub GitHub GitHub GitHub
NuGet Maven Composer PIP GEM NPM

Product Page | Documentation | API Reference | Code Samples | Blog | Free Support | Free Trial|

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
24.5.1 176 8/14/2024
24.5.0 119 6/5/2024
24.1.0 126 5/8/2024
20.11.0 1,012 1/1/2021
17.11.0 1,203 1/18/2019