AcPlPlotEngine::beginGenerateGraphics() 返回Acad::eGraphicsNotGenerated的错误

在使用ObjectARX接口将CAD图纸转换为PDF时遇到问题,调用beginGenerateGraphics()返回Acad::eGraphicsNotGenerated错误。错误可能源于布局问题或打印设备配置。解决方案包括对文件进行AUDIT或RECOVER操作,删除并重新创建打印机配置文件(PC3),或确保使用正确的DWG模板。通过指定模板(如zwcadiso.dwt)创建新文档后,打印问题得到解决。
  • 在使用objectArx相关接口进行打印pdf时,发现打印出来的pdf是空白的,遂进行调试,结果发现beginGenerateGraphics()返回的结果是Acad::eGraphicsNotGenerated。
  • 查询帮助文档,只能知道该返回值代表生成图形时出现问题。objectArx帮助
  • 随后便在谷歌上查找Acad::eGraphicsNotGenerated,在AutoCAD论坛查到点了东西,但按照上面的操作依旧没有帮助

Issue:

  • When plotting or publishing from AutoCAD, the process fails with the Plot and Publish Details showing the
    error:Error: Graphics Not Generated
    Also, the Plot Preview might not work, with the screen just flashing when attempting it.

Causes:

  • There is a problem with the layout being plotted.
  • There is a problem wi
评论 3
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

Finn Wang

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值