几何尺寸与公差论坛

 找回密码
 注册
查看: 1032|回复: 0

【转帖】macro to save as pdf from sw2009 missing geometric tolerance symbols

[复制链接]
发表于 2009-4-12 18:56:06 | 显示全部楼层 |阅读模式
macro to save as pdf from sw2009 missing geometric tolerance symbols
so i have upgrade to 2009 3.0 from 2008 3.0 (and it took only 4 hours it gets better with every release)
... i have this macro to automatically save pdf using
swdrawing.saveas2 pdffilelocation & filename & ".pdf", 0, true, false
but the output pdf is missing geometric tolerances
after some research i have change the line to:
boolstatus = swmodeldocext.saveas(pdffilelocation & filename & ".pdf", 0, 0, swexportdata, lerrors, lwarnings)
and no difference symbols still missing
using save as from pull down menu creates correct output showing all the symbols
am i missing something? or is this a bug?
edited: 03/30/2009 at 11:51 am by mr. t
should be fine. you can double-check this with the full version of batchprocess on trial available
i have attached files to original post with pdf outputs
works on 2008 and 2009 for me. sounds like a drawing specific issue. can you upload or email the exact files, or try creating a new pdf with some geo tols on and try with them?
if started from new part, and attach tolerances to new drawing it comes out ok
but what about my 4k+ of prints that may have tolerances on them
when i deleted tolerances on old drawing and reattached it doesn't show
is saveas from pull down menu exactly the same process as this macro command swmodeldocext.saveas()?
i have noticed variance in output for example:
part with decal label on it (which btw doesn't show in shaded view anymore) when save as pdf from pull down menu shaded view appeared with the decal when using macro did not
its definately a bug in your drawings. email apisupport@solidworks.com with the files attached so they can find the problem.
您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|Archiver|小黑屋|几何尺寸与公差论坛

GMT+8, 2024-12-22 19:32 , Processed in 0.034999 second(s), 19 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表