You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

APS Design Automation适配Revit云模型:commandLine配置咨询

Design Automation for Revit 云模型访问的CommandLine调整与请求体验证

问题解答

  • CommandLine调整: 是的,直接移除所有和rvtFile相关的参数即可。因为你是通过inputJson里的projectGuid/modelGuid来加载Revit云模型,不需要本地rvt文件作为输入参数,所以从命令行和参数列表中删掉rvtFile相关内容完全正确,你当前的commandLine已经符合要求。

  • 请求体正确性验证:

    • 整体结构没问题,但有一处需要修正:inputJson的required设为false不合理,因为这个参数是传递云模型标识的关键,必须设为true,否则任务可能因缺少必要信息失败。
    • verb: "get"是正确的,只要确保该参数能正确获取到包含云模型GUID的JSON文件即可。
    • 引擎版本和AppBundle的配置格式符合规范。

修正后的请求体示例

{
    "id": "UpdateParametersActivity",
    "commandLine": [ "$(engine.path)\\revitcoreconsole.exe /al \"$(appbundles[DA_UpdateParameters].path)\"" ],
    "parameters": {
        "inputJson": { 
            "verb": "get",
            "description":"input json with project and model GUIDs", 
            "localName":"params.json",
            "ondemand": false, 
            "required" :true, 
            "zip": false 
        }
    },
    "engine": "Autodesk.Revit+2022",
    "appbundles": [ "ME_BimViewer_DES.DA_UpdateParameters+test" ],
    "description": "Update Parameters from Revit Cloud Model."
}

内容的提问来源于stack exchange,提问作者anthip

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.07.06 21:22:04