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.
- 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.
DXF (R12/2007/2010)
Fixed Layout: PDF (as a vector and as a raster) Images: BMP, PNG, JPG, JPEG, JPEG2000, TIF, TIFF, PSD, GIF, WMF
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.
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.
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.
From the command line:
nuget install Aspose.CAD-Cloud From Package Manager:
PM> Install-Package Aspose.CAD-Cloud From within Visual Studio:
- Open the Solution Explorer.
- Right-click on a project within your solution.
- Click on Manage NuGet Packages...
- Click on the Browse tab and search for "Aspose.CAD-Cloud".
- Click on the Aspose.CAD-Cloud package, select the appropriate version in the right-tab and click Install.
// 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.
- .NET Standard 2.0
- Newtonsoft.Json
- 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
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|