Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.
dibujocad
632 Views, 5 Replies

blurred views in PDF exported through the API

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

 

Labels (3)