Lab2 Forge API Intro

(This is a continuation from the previous post: Lab1 “Hello Forge World”)

In Lab1, we learned how to obtain an access token and got familiarized ourselves with the basics of REST call. Let’s move on, and create our own storage, upload a model and make it ready for viewing.

To achieve this, we use the following services:

where oss stands for Object Storage Service.

Continue reading “Lab2 Forge API Intro”

Advertisements

Lab1 Hello Forge World

(This is a continuation from the previous post: Forge API Intro Labs Overview)

In this lab, we learn the first step into the Forge world and the basic of REST API call. This is a simple Windows Forms application written in C#. The Forge services we use in this lab is POST authenticate, which is a call to obtain a two-legged authentication token required for subsequent calls.

To make REST calls, we use a library called RestSharp. We chose this as the syntax of RestSharp nicely reflects the semantics of REST call and makes it easy to read the code even if you aren’t writing in C#. Please refer to this post about how to include RestSharp library to your project.

Continue reading “Lab1 Hello Forge World”

Forge API Intro Labs Overview

In the next few posts, I’m going to write about the introduction to Forge API. This is a revised version of what I have done as “View and Data API Intro Labs” a few years back, which was unfortunately outdated now. The goal of the labs is to learn the basic of Forge API through building a simple application to view a design model in a web browser. In the back of my mind, I’m also thinking this as a preparation for Design Automation for Revit (DA4R), which is expected to come near future. For example, to use DA4R, the developer will need to use authentication API. He/she may want to take a Revit file from A360 or BIM 360 and display the result in the viewer. I hope Revit add-on developers who are new to Forge API will find these labs easy to digest.

Autodesk Forge is a collection of web services and various platform technologies that allows the third party developers to integrate with Autodesk’s cloud-based products as well as to build their own applications. They are technologies that Autodesk internally uses to build its own services as well.

Continue reading “Forge API Intro Labs Overview”

Language Support for BIM 360 Docs Web

Not directly related to API, but my colleague in France recently asked me about Japanese language support for BIM 360 Docs. I knew BIM 360 Docs supports Japanese since last year or so. I remember testing it at that time. Unfortunately, I have forgotten how I did that last year. I ended up spending a little time exploring it myself (once again) to make it work. So here it is, I decided to make a note of it this time. It might get handy for people who support in more than one language like myself.

First, the product documentation is here. According to the documentation, currently BIM 360 Docs web supports in the following languages: English, German, French, Spanish, Brazilian Portuguese, Chinese, and Japanese.

Continue reading “Language Support for BIM 360 Docs Web”