Autodesk Forge in One Example and Three Sets of Samples

4apis

If you have decades of your intellectual property captured in AutoCAD drawings and would like to leverage that data to showcase your work to your customers, then Autodesk Forge is for you.

Forge is our application program interface (API) platform and supporting materials (sample code, manuals) as well as a community of developers who uses those APIs. Although Forge is intended for our customers and 3rd party developers to be able to extend our web services, we use Forge for our development of the cloud-based services that we offer. You can leverage Forge in the same ways that we do.

Forge is defined by 4 groups of APIs:

Designautomation_api

Design Automation API

The Design Automation API gives you the ability to run scripts on your design files, leveraging the scale of the Forge Platform to automate repetitive tasks. The API currently works with DWG files, but we have plans to expand to file types generated by other design software. For example, this is a handy way to publish thousands of drawings to DWF or PDF. "Ordinarily, you would have to download all the files, run a script on them in the AutoCAD desktop software, and then potentially upload them all back to the cloud. Your efficiency would be bottlenecked by the processing power of your computer and your network bandwidth, and you would have to instrument logging and retry logic in your code to ensure that the entire job completed. With the Design Automation API, you can offload all that processing to the Forge Platform, which can process those scripts at a much greater scale and efficiency." [Forge]

Designautomation_samples
Peruse the Samples

Datamanagement_api

Data Management API

The Data Management API gives you a unified and consistent way for you to access your data across BIM 360 Team, Fusion Team, BIM 360 Docs, A360 Personal, and the Object Storage Service. The Object Storage Service allows your application to download and upload raw files (such as PDF, XLS, DWG, or RVT). Coupling this API with the Model Derivative API, you can accomplish a number of workflows, including accessing a Fusion model in Fusion Team and getting an ordered structure of items, IDs, and properties for generating a bill of materials in a 3rd-party process. Or, you might want to superimpose a Fusion model and a building model to use in the Viewer. [Forge]

Datamanagement_samples200
Peruse the Samples

Modelderivative_api

Model Derivative API

The Model Derivative API lets you represent and share your designs in different formats, as well as to extract valuable metadata into various object hierarchies. 60 different file input formats are supported. With this API, you can translate your design into different formats, such as STL and OBJ, but the key one is that you can have it translate your designs into SVF for extracting data and for rendering files in the Viewer.

Modelderivative_samples200
Peruse the samples

Viewer_api

Viewer

The Viewer is a WebGL-based, JavaScript library for your use in 3D and 2D model rendering. The Viewer communicates natively with the Model Derivative API to fetch model data, complying with its authorization and security requirements. The Viewer requires a WebGL-canvas compatible browser:

  • Chrome 50+
  • Firefox 45+
  • Opera 37+
  • Safari 9+
  • Microsoft Edge 20+
  • Internet Explorer 11

Allowing Forge to render your files in the Viewer is a hassle-free way to share your company's data to your customers without having to deal with all of the peculiarities of these various browsers.

Viewer_example
Try the Sample App

So regardless of the number of gigabytes of data you have in your design files, you can use these APIs to extract data, surface it, and allow your customers to view and interact with it on your own website. To forge is to make or shape a metal object by heating it in a fire or furnace or beating and hammering it. In terms of customer showcasing, your data is the metal, and our APIs are the heat.

Data is still alive in the lab.