|
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. |
|