[英]Trying to show room information in Autodesk Forge / Bim360
Okay so, I'm trying to show room information and geometry from a Revit project on Forge.好的,我正在尝试显示来自 Forge 上的 Revit 项目的房间信息和几何图形。 I've made the call to https://developer.api.autodesk.com/modelderivative/v2/designdata/jobs
with Setting advanced/generateMasterViews field to true
, yet, even if I get a correct response, and even from https://developer.api.autodesk.com/modelderivative/v2/designdata/:urn/manifest
I get that the model is successfully translated but still, no room information. I've made the call to https://developer.api.autodesk.com/modelderivative/v2/designdata/jobs
with Setting advanced/generateMasterViews field to true
, yet, even if I get a correct response, and even from https://developer.api.autodesk.com/modelderivative/v2/designdata/:urn/manifest
我知道 model 已成功翻译,但仍然没有房间信息。 I've looked in Forge for the room information with no luck.我在 Forge 中查找了房间信息,但没有成功。 Afterwards I've tried to publish it to Bim360 knowing that B360 automatically gets the room information and geometry.之后我尝试将它发布到 Bim360,因为我知道 B360 会自动获取房间信息和几何图形。 And for a moment it looked like it worked.有那么一刻,它看起来好像奏效了。 The model displayed the rooms and the information: model 显示房间和信息:
So, I close B360 and try after a few seconds I open it again and... :所以,我关闭 B360 并在几秒钟后尝试再次打开它并...:
No geometry, no room information.没有几何,没有房间信息。 Nothing.没有什么。 Maybe is something wrong with the model? model 可能有问题吗? I've tried deleting and recreating the rooms in revit, modifying the Publish settings etc but this isn't my job, I only have basic notions as I'm a programmer.我已经尝试在 revit 中删除和重新创建房间,修改发布设置等,但这不是我的工作,我只有基本的概念,因为我是一名程序员。 Anything?任何事物?
*EDIT: After further tries, I've noticed after every model update on B360 I get room geometry on the first open. *编辑:经过进一步尝试,我注意到在 B360 上的每次 model 更新后,我在第一次打开时会得到房间几何形状。 Only the first time I open it.只有我第一次打开它。
Okay so I've solved it.好的,我已经解决了。 I'ts was not a forge nor B360 error, it was an error on the model, The problem was Revit was not generating volume for the rooms because It was told not to: I actually had Revit Area and Volume Computations on Areas only (which is faster, but doesn't generate volumes for rooms) To change this i just had to :我不是伪造也不是 B360 错误,它是 model 上的错误,问题是 Revit 没有为房间生成体积,因为它被告知不要:我实际上只对区域进行了 Revit 面积和体积计算(其中速度更快,但不会为房间生成音量)要改变这一点,我只需要:
2. 2.
Then click OK and save the model.然后单击确定并保存 model。 Afterwards you have to upload the file and translate it by using generateMasterViews.之后,您必须上传文件并使用 generateMasterViews 进行翻译。 And done!并做了! You'll have your master view with room geometry.您将拥有带有房间几何形状的主视图。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.