1

I was trying some hands on with forge services, I want to fetch few object's properties inside of a revit model uploaded on bim360/ACC, for which I am calling two API's 'https://developer.api.autodesk.com/modelderivative/v2/designdata/job' for translating the job to svf and then calling API "https://developer.api.autodesk.com/modelderivative/v2/designdata/" + urn + "/metadata/" (with urn of the translated job) (failed when passed urn of revit file directly)

Can we not directly get the metadata/properties without converting the file to svf? Since translating to svf is taking a lot of time for large files, my motive is to decrease the time to fetch the properties, can you share any solutions if you think of any please?

1 Answers1

0

Yes, you are correct in assuming that you need to translate to SVF in order to access any BIM element properties at all. It's either that, or open it in desktop Revit and access the data there. Also discussed in the Revit API discussion forum thread on fetching metadata of a model using Forge model derivative API.

Jeremy Tammik
  • 7,333
  • 2
  • 12
  • 17
  • AFAIK, files uploaded to BIM360 / ACC are automatically translated into SVF / SVF2 ? – AlexAR Jun 21 '22 at 18:00
  • Yes, indeed, so the SVF is already present in the system. Now all you need to do is gain access, e.g., by loading it into the Forge viewer. There, you can use JavaScript to read the data. – Jeremy Tammik Jun 23 '22 at 05:56
  • Before calling properties API, will need to wait for the svf2 translation job completed. – Eason Kang Jun 23 '22 at 08:06
  • @JeremyTammik I want to use the Metadata of a revit file uploaded on acc/bim360 in my forge app. How can I get it without translating the file to svf. Since translation is taking a lot of time. As you said, files uploaded are already translated to svf. How can I get metadata for the file which is already translated? Please help. I also tried another solution of using the nwd file. But I also had issues in it. Please refer this https://stackoverflow.com/questions/72861685/fetch-metadata-of-a-nwd-file-using-forge – Madhusudan patil Jul 05 '22 at 18:02
  • Eason has provided the answer. It is correct and complete. You can trust him. – Jeremy Tammik Jul 06 '22 at 19:10