Room object in Revit files

230 views Asked by At

I followed the instruction in the link below to extract Room objects from Revit models:

https://forge.autodesk.com/blog/new-rvt-svf-model-derivative-parameter-generates-additional-content-including-rooms-and-spaces

I made the changes as instructed and tested the sample Revit file (rac_basic_sample_project.rvt). But, still I don't see the rooms or the viewables (phases). Below is fhe request I post. Am I missing anything?

{
  "input": {
    "urn": "dXJuOmFkc2sub2JqZWN0czpvcy5vYmplY3Q6YzQ4ZDUxNDNhMDRiNDAxNmI3ODYxY2NlMzQ2ZDkyNjdfZmFjaWxpdHlfOTUvZWIyYzMzNDgtNDAxYS00ZjQ3LTgwM2EtMjM1OGYwYmI0YjY2LnJ2dA"
  },
  "output": {
    "destination": {
      "region": "us"
    },
    "formats": [
      {
        "type": "svf",
        "views": [
          "3d"
        ],
        "advanced": {
          "generateMasterViews": true
        }
      }
    ]
  }
}
1

There are 1 answers

5
Petr Broz On BEST ANSWER

I just tested the feature and I can see the room data:

enter image description here

The JSON payload seems ok, so try checking the following things:

  • Make sure you use the x-ads-force header (explained in the blog post you linked to); if you had already processed your Revit model before, triggering a new Model Derivative job would not do anything unless you force the translation
  • Try using another design (and from a newer version of Revit if possible); in my screenshot I'm using one of the official samples for Revit 2020, although I remember being able to get the room data from older samples as well
  • The room data is only available in certain "viewables" so make sure you're looking at the right one; for my sample project, for example, the room data is not available in the "{3D}" viewable but it is available in the "Working Drawings" viewable