几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量  


返回   几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量 » 仿射空间:CAX软件开发(三)二次开发与程序设计 » CAD二次开发 » SolidWorks二次开发
用户名
密码
注册 帮助 会员 日历 银行 搜索 今日新帖 标记论坛为已读


 
 
主题工具 搜索本主题 显示模式
旧 2009-04-12, 06:56 PM   #1
yang686526
高级会员
 
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
yang686526 向着好的方向发展
默认 【转帖】macro to save as pdf from sw2009 missing geometric tolerance symbols

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.
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)
 


主题工具 搜索本主题
搜索本主题:

高级搜索
显示模式

发帖规则
不可以发表新主题
不可以回复主题
不可以上传附件
不可以编辑您的帖子

vB 代码开启
[IMG]代码开启
HTML代码关闭

相似的主题
主题 主题发起者 论坛 回复 最后发表
下载好多软件 ping CAD资料交换区 6 2007-03-03 09:13 PM
Draft International Standard Iso/dis 10303-108 huangyhg ISO standards 2 2007-01-02 12:55 PM
What is the range of tolerance value for Modeler::SetToleranceValue? directdwg SolidWorks二次开发 0 2006-12-19 12:59 PM


所有的时间均为北京时间。 现在的时间是 06:08 AM.


于2004年创办,几何尺寸与公差论坛"致力于产品几何量公差标准GD&T | GPS研究/CAD设计/CAM加工/CMM测量"。免责声明:论坛严禁发布色情反动言论及有关违反国家法律法规内容!情节严重者提供其IP,并配合相关部门进行严厉查处,若內容有涉及侵权,请立即联系我们QQ:44671734。注:此论坛须管理员验证方可发帖。
沪ICP备06057009号-2
更多