Setting Up for A360 Collaboration for Revit

In my earlier post, I gave a quick introduction to A360 Collaboration for Revit. Your next question might be: “where can I get started?”

I recently went through the process of setting up the collaboration environment for our DevTech AEC team. The best instruction I found so far is this page on help.autodesk for Revit >> A360 Collaboration for Revit >> Get Started with Your A360 Collaboration for Revit Subscription (*1)

Continue reading “Setting Up for A360 Collaboration for Revit”


A360 Collaboration for Revit

Autodesk has introduced a new cloud-based services called  “Autodesk A360 Collaboration for Revit” (or C4R in short) during Autodesk University last month. Prior to the official release, it was called “Skyscraper” and was available as a technology preview. Some of you may recognize with this code name better. In simple words, we may describe it as a cloud version of Revit Server; it provides a centralized location in the cloud to save and access a work-shared Revit project file among a team of architects and engineers who are sparsely located across the globe. But it actually goes beyond that. Let me give you a brief introduction to this new services through my point of view.

Continue reading “A360 Collaboration for Revit”

Lab4 Glue API Web Intro JS

(This is a continuation from the previous post: Lab3 “Glue API Web Intro”)

The last piece of API functionality that we want to add to our Intro Labs app is an ability to select an element in the viewer and to obtain its property. To do this, Glue API provides a thin layer of JavaScript API. It is written on top of jQuery library, which is very popular public JavaScript library and greatly simplifies querying of document parts or accessing web document objects.

JavaScript API Layer

If you look at the accompanying sample project for Lab4, you see three JavaScript (.js) files under Scripts folder:

  • jquery-1.11.0.min.js
  • glue-embedded.js
  • viewer.js

Continue reading “Lab4 Glue API Web Intro JS”

Lab3 Glue API Web Intro

(This is a continuation from the previous post: Lab2 “Glue API Intro”)

So far, we have written a program that is a desktop client application. Next, we will write a simple ASP.NET web application. For now, we keep the basic functionality same as Lab2 (i.e., login, get a list of projects, get a list of models, and display a model). Later on in the Lab4, we will add JavaScript layer to have UI interaction with the viewer.

The good news is that you should be able to reuse most of Glue web services REST calls that you wrote in the previous labs. In the sample project accompany this labs exercises, we put the common Glue REST calls under Glue folder. You can simply copy the folder to your web application if you are using our sample app.

Continue reading “Lab3 Glue API Web Intro”

Lab2 Glue API Intro

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

In Lab1, we learned how to sign into the Glue using API, and we got familiarized ourselves with the basics of REST call. Let’s move on, and try to retrieve a model and to display it in an embedded viewer.

To achieve this, we use following services:

  • Security/login (same as in the Lab 1)
  • Project list
  • Model list
  • Display component (or viewer)

Continue reading “Lab2 Glue API Intro”

Lab1 Hello Glue World

Continuing from the previous post, our THE minimum project is called “Hello Glue World”. In this lab, we learn the first step into the Glue world and the basic of REST API call. This is a simple Windows Forms application written in C#. The Glue services we use in this lab is security/login, which is a call to sign-in to the Glue and to obtain an authentication token for subsequent calls.

To make REST calls, we use a library called RestSharp in our labs, because I found it is very easy to use and gives you a very good semantic view of what REST API is if you are new to REST API. If you are already familiar with REST API in general and thinking to use other languages of your choice for actual implementation, it might help you “read” the code that are specific to the Glue API. (If you have better suggestions, feel free to share with us.)

Continue reading “Lab1 Hello Glue World”

Glue API Intro Labs Overview

(Update: this materials is outdated. Glue viewer, which is a plugin, is no longer supported by modern browses. The Glue web services REST API part remain unchanged. If you are interested web services API part, that portion should still work. 9/28/2016.) 

Earlier I posted materials from AU class “SD6867 Introduction to the BIM 360 Glue API.” One of them is called “Glue API Intro Labs”. It is intended to be exercises to learn Glue API for people who is new to the Glue API. (If you happen to use Revit API and learned through Revit API Training labs, the same idea.) Labs include four incremental code projects. Starting from Lab 1, we learn the basics of Glue API:

  • Lab1 “Hello Glue World” – this is the minimum project which shows sign-in REST call. If you are new to the REST API, this lab will give you a pretty good picture of what REST API is like and how to use them.
  • Lab2 “Glue API Intro” – this lab shows how to retrieve project and model ids and display a model in an embedded viewer.
  • Lab3 “Glue API Web Intro” – we then convert a client win forms application written in Lab 2 to a web application.
  • Lab4 “Glue API Web Intro JS” – we add thin JavaScript layer to access element properties and selection.

Continue reading “Glue API Intro Labs Overview”