0

I'm very new to forge and revit. I've been trying to see if I can get all the information from Revit / BIM file programmatically. I know I might be able to get it with DB link or excel, but export to excel seems an extract steps.

Then I found out Forge, I was assuming Model Derivative APIs will did the job for you, basically upload the files to bucket and click on the models to select object, let's say a floor, I should be able to make API calls with all the information about that floor. However, when I play around with Forge, it seems like not every information is in the properties. Is that correct? Or I just didn't implement it correctly?

Thanks for your answer.

Audrey
  • 1,728
  • 2
  • 11
  • 10

1 Answers1

1

It is possible to get all the information regarding properties of any/all object(s).

First you need to get the URN of the version of the file, get the metadata from this API: https://developer.autodesk.com/en/docs/model-derivative/v2/reference/http/urn-metadata-GET/

Use the next 2 APIs in the above link to get properties of any/all object(s).

In case you don't know how to get URN: The way you get URN is from forge Data Management Api, you can list Hubs > Projects > Folders > Items > Versions. This tutorial guides you on the steps.

varunpatil
  • 428
  • 1
  • 3
  • 6