Display Rooms in ACC Viewer from a Revit Cloud Model

geng.wang
Alumni

Display Rooms in ACC Viewer from a Revit Cloud Model

geng.wang
Alumni
Alumni

Displaying rooms in the ACC (Autodesk Construction Cloud) Viewer for your Revit Cloud model is a frequently encountered scenario, for example, for a Space Programming dashboard, energy analysis, or equipment assignment. However, you won’t get Rooms by default from your Cloud model, nor will they show up in the Viewer.

If you are a software developer looking for solutions for your .NET app or NodeJS app, you can check out the repo by @jeremytammik, this post by Kevin Vandecar, or a more recent post by Varun Patil & Eason Kang. If you are into Dynamo, here’s a tutorial by Andrey Kim.

Continue reading this tips and tricks post if you prefer a “no code” approach, or a quick way to get this done while you are prototyping: the first part (steps 1~5) shows you how to do the Model Derivative translation manually using a Visual Studio Code extension written by Petr Broz; the second part (steps 6~7) explains how to get Rooms displayed in the ACC Viewer after you published your Cloud Model.

  1. Install “Autodesk Platform Services” extension for Visual Studio Code.
  2. Right click “Upload Object” (under the “Buckets & Derivatives” tab) to upload your Revit model.
    vs-code.png
  3. Once your model is in the bucket, use “Translate Object (Custom)” to trigger SVF2 translation with “Generate Master View” checked.
  4. After the translation is done, the RVT file should have its “Master View”.
  5. Download the RVT file and open it with Revit. Save As Cloud Model to the ACC project/location of your choice.
  6. Now, you need to do a few more tricks in the Viewer to get Rooms to show up. First, open the RVT file in its ACC Viewer, then open DevTools (Ctrl+Shift+J if you are using Edge on Windows) and load the following 3 extensions in the Viewer from the Console:
    NOP_VIEWER.loadExtension('Autodesk.DocumentBrowser');
    NOP_VIEWER.loadExtension('Autodesk.ModelStructure');
    NOP_VIEWER.loadExtension('Autodesk.PropertiesManager');​
  7. You should be able to view Rooms after you find the “Master View” (by following the steps in the 2nd screenshot below).
    viewer.png

The good news is that you only need to do this once for a Revit model to turn on the 'Generate Master View' flag; If you make changes to your design later on, simply publish the model in Revit to update the room information.

Reply
572 Views
0 Replies
Replies (0)