简体   繁体   English

使用 Forge Model 衍生工具将特定 Revit 视图转换为 IFC

[英]Convert Specific Revit View to IFC Using Forge Model Derivatives

Is there a way to translate only a specific view to IFC using the Forge Model Derivatives API?有没有办法使用 Forge Model Derivatives API 仅将特定视图转换为 IFC? More specifically, is there a way to make it so "only export elements visible in view" were checked in the Revit export settings with a particular view selected?更具体地说,有没有办法让它在 Revit 导出设置中选中“仅导出元素在视图中可见”并选择特定视图?

To enable Export only elements visible in view , you need to the following:要启用Export only elements visible in view ,您需要执行以下操作:

  1. Create a new IFC Export Setup Option , and check Export only elements visible in view , then give it a name to save it in the RVT file创建一个新的IFC Export Setup Option ,并选中Export only elements visible in view ,然后为其命名以将其保存在 RVT 文件中
  2. Save changes to the RVT file保存对 RVT 文件的更改
  3. Update the modified RVT model with your own IFC export option to your Forge bucket使用您自己的 IFC 导出选项将修改后的 RVT model 更新到您的 Forge 存储桶
  4. Submit a translation via POST job and specify your IFC export option name in the advanced.IFCExportOption like below:通过POST 作业提交翻译,并在advanced.IFCExportOption中指定您的 IFC 导出选项名称,如下所示:
{
   "input": {
     "urn": "{YOUR_RVT_BASE64_URN}"
   },
   "output": {
     "formats": [
       {
         "type": "IFC",
         "views": [
           "3d"
         ],
         "advanced": {
            "IFCExportOption": "{YOUR_IFC_EXPORT_OPTION_NAME}"
         }
       }
     ]
   }
 }

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM