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”

Forge DevCon at AU 2017 Las Vegas

Have you registered for Forge DevCon at AU 2017 Las Vegas?  If you haven’t and planning to come, here are a few pointers to register. (It may not be obvious how to add DevCon afterward.):

  1. Register to Forge DevCon through the AU registration page.
    • Combined ticket includes Forge DevCon – $2,175
    • Forge DevCon standalone ticket – $295
      (AU is very expensive, isn’t it?)
  2. If you already have a ticket to AU and want to add Forge DevCon.
    • You can add to the AU full price ticket – $95
    • Call customer service at call 888-371-1722 (toll-free in the United States) or 415-446-7717.
    • Or send an email to customer service autodeskuniversity@autodeskevents.com.
      They will add for you.

Continue reading “Forge DevCon at AU 2017 Las Vegas”

BIM 360 Docs Account for Development

As we finish the BIM 360 focused webinars, we are receiving requests for BIM 360 Docs account for development. I talked about it in the second webinar. Here is the instruction to make it easy to find by googling.

  • ADN members – if you are an ADN member, you can request a developer version of license from the ADN extranet: adn.autodesk.io >> Development Software and Web Services Request Form.
  • Paid account owners – If you already have a paid BIM 360 Docs account, you can use your own account. (If you do not see “Apps and Integration” tab under SETTINGS tab of Account Admin module, you don’t have an access to API. You will need to request to activate it. Please refer to this post for where to make a request.)
  • If neither of above applies to you, you have two choices:

Continue reading “BIM 360 Docs Account for Development”

Materials from BIM 360 Online Hackathon Webinars

We just finished BIM 360 focused webinar series. The webinars were a part of BIM 360 Hackathon, the online event lasting for three months from August 1st to October 31st. The event is to kick off the opening of the new App Store for BIM 360. (Yes, we have App Store for BIM 360 now!) Currently, the store shelf only has apps that are “home grown”. The idea of the webinars is to help developers jump start implementing web service applications using BIM 360 and Forge.

If you missed the webinars, no worries. The webinars were recorded and are posted to the YouTube. I’m adding the links to the recording along with the presentation slides below.

Continue reading “Materials from BIM 360 Online Hackathon Webinars”

No “Custom Integrations” tab?

Update on 11/29/2017. “Apps & Integrations” tab was renamed as “Custom Integrations”.

To access data stored in BIM 360 Docs through API, you need to manually “provision” your app first. This is done in “Account Admin” page >> “Settings” tab >> “Custom Integrations” >> “Add Custom Integration”:

DocsCustomIntegrations

Continue reading “No “Custom Integrations” tab?”

Folder Creation API for BIM 360 Docs

API to create a folder in BIM 360 Docs is finally available. Before you go back to your code and try it out yourself, however, I should point out a few things that you may want to be aware:

  • It uses commands (not POST-project-folders end point)
  • It supports in the user context only: i.e., 3-legged authentication and 2-legged with x-user-id specified. No full 2-legged is supported at this time.

Note that BIM 360 Team and other A360 based data management service uses POST-projects-folders endpoint to create a folder; the command version does not work for them. These may potentially add confusion if you are not aware up front. BIM 360 Docs team is aware of these gaps and will continue to work on to provide consistent, full 2-legged support at later time. For now, most importantly, we have a way to create folder!  Let’s take a look.

Continue reading “Folder Creation API for BIM 360 Docs”

From DevDay Online 2016 Webinars

Last month, we held a series of webinars titled “DevDays Online 2016”. They are online version of Developer Days presentations that we gave in several cities across the world last November and December. They are intended for people who couldn’t attend the conferences in person.

I was responsible for BIM 360 API updates. If you watched a recording of the last year’s my DevCon session, the baseline of the contents are similar. But it was slightly updated with the news about the preview of Data Management API access for Docs being released.  If you are new to Forge API and interested in using the API with BIM 360 Docs and family products, this will give you a good overview of what Forge API is about in the context of BIM 360.

Continue reading “From DevDay Online 2016 Webinars”