如何通过 DesignAutomationV3 (Forge API) Revit 导出 PDF [英] How to Revit export PDF by DesignAutomationV3 (Forge API)

查看:32
本文介绍了如何通过 DesignAutomationV3 (Forge API) Revit 导出 PDF的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我尝试使用您的代码在博客 Autodesk Forge 中导出 DWG.它工作得很好,我得到了一个带有 dwgs 文件的 zip.现在我尝试导出 PDF 但它不起作用,我只是得到一个没有任何东西的 zip.我认为问题可能来自 Revit Sandbox 的打印设置.请帮帮我

I try your code to export DWGs in blog Autodesk Forge. It is work very well, I get a zip with files dwgs. Now i try to export PDF but it not work, i just get a zip with no things. I think it problem maybe from Print Settings of Revit Sandbox. Please help me

推荐答案

你的意思是你参考这个 博客?

Do you mean you reference this blog?

通过调用 Revit Design Automation Activity 成功获取 dwgs 的 zip 包后,您需要解压缩该包,然后迭代每个 DWG 文件以调用另一个 AutoCAD Design Automation Activity,该 AutoCAD 设计自动化活动会将 DWG 文件转换为 PDF.您必须定义 AutoCAD 设计自动化活动才能将 DWG 转换为 PDF.

After you successfully got the zip package of dwgs by calling Revit Design Automation Activity, you need to unzip the package, and then iterate each of the DWG file to call another AutoCAD Design Automation Activity which will convert the DWG file to PDF. You have to define the AutoCAD Design Automation Activity to convert DWG to PDF.

这篇关于如何通过 DesignAutomationV3 (Forge API) Revit 导出 PDF的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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