Getting room information for Revit models in the Forge Viewer

This question has come up more than a few times over the last year or so: I remember a number of Revit developers hitting it when creating Viewer applications at the accelerators in Munich and Prague, for instance. The problem appears to be that RVT files – when translated and loaded into the Viewer – do not have the concept of room objects: they're just spaces. Which presents a challenge for developers who want to work at the room level.

Dasher 360 with rooms and levels

Last week I showed a demo during our "Autodesk Research and IoT" session, which showed room-centric navigation built into the Viewer. There's a reason this works, it seems: because the Revit model we used as a basis was actually comprised of multiple RVT files, we decided to aggregate it into a single NWC file – an export option from Revit – before importing that into our Viewer scene.

From talking to a few developers, this seems to be the important step: Navisworks has the concept of rooms and brings this along when imported into Forge. So aside from being a convenience – we could upload and translate a single NWC file, rather than dealing with multiple RVT files – we also get room objects and associated information in the model and its properties.

I showed this to Philippe Leefsma and Jeremy Tammik before leaving San Francisco on Friday, who suggested getting the information posted somewhere. So here it is. 🙂

4 responses to “Getting room information for Revit models in the Forge Viewer”

  1. Thanks for the tips but NWC file contains less informations than RVT file my client said. Is it true?

    1. Kean Walmsley Avatar
      Kean Walmsley

      It gives the information we need inside Dasher 360, but I haven't done an exhaustive comparison of the two formats. You might try asking on the forums or StackOverflow about that.

      Kean

  2. Jayanath Perera Avatar

    There is a new option that you can specify while translating the Revit file that does just this. forge.autodesk.com/...

    1. Thanks, JP!

      I've been meaning to give this a try and update the post... thanks for the reminder.

      Kean

Leave a Reply to Kean Walmsley Cancel reply

Your email address will not be published. Required fields are marked *