- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello,
I'm using the PDF Translator AddIn via the API to export drawings to PDF. But when I opened the PDF the views appear blurred.
I thought the reason could be that the drawing is exported before being updated. However I tried it, but it still didn't work. I also tried with "DrawingDocument.MakeAllViewsPrecise, but nothing has changed.
Any suggestion?
Set oAsmDrawDoc = ThisApplication.ActiveDocument
'Update drawing before exporting to PDF
oAsmDrawDoc.Update2 (True)
'Make all the views precise
oAsmDrawDoc.MakeAllViewsPrecise
If oAsmDrawDoc.Update2(True) = True Then
'Call Sub Export PDF (save drawings as PDF)
ExportPDF
'Save the updated document
oAsmDrawDoc.Save2 (True)
'Close AsmDrawDoc and active oAsm again
oAsmDrawDoc.Close
End If
Thanks in advance
Solved! Go to Solution.