Obtaining room/area information from Forge api

巧了我就是萌 提交于 2019-12-08 12:41:37

问题


I need to get room/area objects with the hierarchy of linked objects from the Revit model via Forge. Right now I am using this project as a starting point. Unfortunately, the room information is lost. As far as I understand, it is removed during the translation process. There are some workarounds like this one, but it doesn't seem to work for our case. Is there any straightforward way to retrieve room information from rvt in Forge?


回答1:


Although there is not directly way to get room information via the Forge translator, there are still some workarounds to archive this:

  • Open Revit project with room elements only via the Navisworks, and upload to Forge for translation, use this result as the secondary model of your viewer app as well.
  • Extract room info. and object relationships via Revit API, and use external mapping feature of the Forge Viewer to rebuild partial relationships between elements and rooms, if room geometry info. is not required.

Hope this help.




回答2:


Unfortunately room information is not exposed through the Forge translation at the moment. We have a change request pending about it because several developers have been asking this feature. It will be provided in the future but at the moment the best workaround is the link that you pointed out. Sorry for the bad news.



来源:https://stackoverflow.com/questions/44128417/obtaining-room-area-information-from-forge-api

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!