尝试在 Autodesk Forge/Bim360 中显示房间信息 [英] Trying to show room information in Autodesk Forge / Bim360

查看:28
本文介绍了尝试在 Autodesk Forge/Bim360 中显示房间信息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

好的,我正在尝试显示 Forge 上 Revit 项目的房间信息和几何图形.我已经使用 Setting advanced/generateMasterViews 字段为 true 调用了 https://developer.api.autodesk.com/modelderivative/v2/designdata/jobs,但是,即使我得到了正确的响应,甚至从 https://developer.api.autodesk.com/modelderivative/v2/designdata/:urn/manifest 我得到模型已成功翻译但仍然没有房间信息.我已经在 Forge 中查找了房间信息,但没有运气.之后我尝试将其发布到 Bim360,知道 B360 会自动获取房间信息和几何形状.有那么一刻,它看起来好像奏效了.模型显示房间和信息:

Okay so, I'm trying to show room information and geometry from a Revit project on Forge. 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 looked in Forge for the room information with no luck. Afterwards I've tried to publish it to Bim360 knowing that B360 automatically gets the room information and geometry. And for a moment it looked like it worked. The model displayed the rooms and the information :

所以,我关闭 B360 并尝试在几秒钟后再次打开它,然后...:

So, I close B360 and try after a few seconds I open it again and... :

没有几何图形,没有房间信息.没有.也许模型有问题?我试过在 revit 中删除和重新创建房间,修改发布设置等,但这不是我的工作,我只有基本的概念,因为我是一名程序员.有什么吗?

No geometry, no room information. Nothing. Maybe is something wrong with the 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. Anything?

*EDIT :经过进一步的尝试,我注意到在 B360 上的每次模型更新后,我都会在第一次打开时获得房间几何形状.只有我第一次打开它.

*EDIT : After further tries, I've noticed after every model update on B360 I get room geometry on the first open. Only the first time I open it.

推荐答案

好的,我已经解决了.Its 不是伪造也不是 B360 错误,而是模型错误!问题是 Revit 没有为房间生成体积,因为它被告知不要!我实际上只在区域上进行了 Revit 区域和体积计算(它更快,但不会为房间生成体积)要改变这一点,我只需要:

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 :

1.

2.

然后单击确定"并保存模型.之后,您必须上传文件并使用 generateMasterViews 进行翻译!并做了!您将拥有包含房间几何图形的主视图.

Then click OK and save the model. Afterwards you have to upload the file and translate it by using generateMasterViews! And done! You'll have your master view with room geometry.

这篇关于尝试在 Autodesk Forge/Bim360 中显示房间信息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆