Autodesk 设计自动化 API 定义了绘图设置,例如灰度/线宽 [英] Autodesk Design Automation API define Plot Settings e.g. greyscale/linewidth

查看:86
本文介绍了Autodesk 设计自动化 API 定义了绘图设置,例如灰度/线宽的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在寻找在将 .dwg 文件转换为 .pdf 文件时定义绘图设置的选项.我想要灰度转换后的 PDF 并且元素的线宽太大.如何在对 Forge Design-Automation-API 的 API 调用中定义 Plotsettings?

I am searching for an option to define the Plot Settings when converting a .dwg file to a .pdf file. I want to have the converted PDF in greyscale and the linewidth of the Elements is too big. How can I define the Plotsettings in my API call to Forge Design-Automation-API?

谢谢

推荐答案

您需要创建一个自定义活动来执行此操作.如果您知道如何使用 AutoCAD 命令行上的 -PLOT 命令来执行此操作,那么这将是相对容易的练习.这是一个演示如何创建自定义活动的教程:https://github.com/szilvaa/acadio-tutorials/blob/master/tutorial2/readme.md.

You will need to create a custom activity to do this. If you know how to do this using the -PLOT command on the AutoCAD command line then this will be relatively easy exercise. Here's a tutorial that shows how to create a custom activity: https://github.com/szilvaa/acadio-tutorials/blob/master/tutorial2/readme.md.

如果您在某些细节方面需要帮助,请在此处发布.

If you need help with some details then post here.

这篇关于Autodesk 设计自动化 API 定义了绘图设置,例如灰度/线宽的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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