Convert CAD Drawings to PDF Format

Introduction

This article explains how to convert CAD drawing/image to another format. You can convert CAD Drawings to Portable Document Format (PDF). Aspose.CAD provides the following two APIs to perform the said task:

  1. GET /cad/{name}/saveAs
  2. POST /cad/saveAs

Resource URI

Aspose.CAD Cloud APIs Swagger UI lets you call these APIs directly from the browser. The description of the APIs and their parameters are also given there.

cURL Example

Option 1: Export existing drawing to another format

Option 2: Export existing an image to PDF format. Image is passed as a request body

Input Document: 

Output Document:

SDKs

Using an SDK (API client) is the quickest way for a developer to speed up the development. An SDK takes care of a lot of low-level details of making requests and handling responses and lets you focus on writing code specific to your particular project. Checkout our GitHub repository for a complete list of Aspose.CAD SDKs along with working examples, to get you started in no time. Please check Available SDKs article to learn how to add an SDK to your project.

SDK Examples

Option 1: Export existing drawing to PDF format

Option 2: Export existing image to PDF format, where Image is passed as a request body