获取InventorServer Engine的输出作为stp文件,还是应该使用ModelDerivative API?

时间:2017-02-16 18:21:15

标签: autodesk-forge autodesk-model-derivative autodesk-designautomation

参考今天网络研讨会上的附图: (可以在此图片上发布至少10个声望的人:http://i.imgur.com/LwUHnce.png

例如,一旦更改了参数,我的appPackage(即changeParamsPlugin)可以做这样的事情吗?

doc.SaveAs(Path.GetDirectoryName(doc.FullDocumentName) + "\\" + outputFile + ".stp", True);

然后像这样下载文件:

DownloadToDocs(resultUrl, AppProperties.OutputFile + AppProperties.StepExtension); // Output to MyDocuments

或者之后我应该使用模型衍生API来翻译步骤文件中的输出吗?

1 个答案:

答案 0 :(得分:0)

首先要注意的是,Design Automation中的Inventor目前处于私人测试阶段,因此目前无法在生产中使用它。如果您有兴趣探索我们的私人测试版,请与我联系。

就这个问题的指导而言,一般来说,翻译应该使用Forge中的ModelDerivative API完成。如果您需要在翻译之前完成“自定义”工作,那么使用Design Automation是正确的方法。

AutoCAD“Engine”可以在Design Automation中投入使用,而您在上面列出的是我今天发布的演示文稿,其中包含免费提供的免费提供。