Autodesk forge 是否有使用设计自动化API转换为SVF查看器的选项

Autodesk forge 是否有使用设计自动化API转换为SVF查看器的选项,autodesk-forge,autodesk-designautomation,Autodesk Forge,Autodesk Designautomation,我只是想看看是否有可能创建一个SVF查看器使用设计自动化API和避免模型衍生API。 几个月前,我与Forge支持团队进行了一次会谈,他们告诉我,由于翻译量很大,对于经济问题,使用设计自动化对我来说很方便 提前感谢不幸的是,目前不支持Design Automation API上的SVF翻译,正如我被告知的那样,AutoCAD除外。您可以使用此活动通过AutoCAD的Design Automation API生成SVF: { "commandLine": [ "$(engi

我只是想看看是否有可能创建一个SVF查看器使用设计自动化API和避免模型衍生API。 几个月前,我与Forge支持团队进行了一次会谈,他们告诉我,由于翻译量很大,对于经济问题,使用设计自动化对我来说很方便


提前感谢

不幸的是,目前不支持Design Automation API上的SVF翻译,正如我被告知的那样,AutoCAD除外。您可以使用此活动通过AutoCAD的Design Automation API生成SVF:

{
    "commandLine": [
        "$(engine.path)\\accoreconsole.exe /i $(args[HostDwg].path) /al $(appbundles[Publish2View22].path) /s $(settings[script].path) /suppressGraphics"
    ],
    "parameters": {
        "HostDwg": {
            "verb": "get",
            "description": "Host drawing",
            "required": true,
            "localName": "$(HostDwg)"
        },
        "Result": {
            "zip": true,
            "verb": "post",
            "description": "Results",
            "required": true,
            "localName": "result"
        }
    },
    "id": "AutoCAD.AcSvfPublish+prod",
    "engine": "Autodesk.AutoCAD+22",
    "appbundles": [
        "AutoCAD.Publish2View22+prod"
    ],
    "settings": {
        "script": {
            "value": "(command \"_prepareforpropertyextraction\" \"index.json\")\n(command \"_indexextractor\" \"index.json\")\n(command \"_publishtosvf\" \"./output/result.svf\")\n(command \"_createbubblepackage\" \"./output\" \"./result\" \"\" \"\")\n"
        }
    },
    "description": "AutoCAD translation sample generating SVF via core console.",
    "version": 4
}

3ds Max引擎还支持生成svf文件。您应该能够轻松编写一个脚本导出到svf,并在设计自动化中执行它

请参阅有关如何在maxscript中导出的文档:

有关如何在Design Automation for 3ds Max中执行脚本的本教程,请参见: