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

blurry pdf through translator add-in when drawing contains special paste table from excel

dibujocad
Enthusiast

blurry pdf through translator add-in when drawing contains special paste table from excel

dibujocad
Enthusiast
Enthusiast

Hi everybody,

I used the translator AddIn for exporting drawings to pdfs through a macro. I literally copied the same code which appears as an example in VBA help for that purpose.  

The macro works perfectly, except when I export to pdf a drawing which contains a table from an excel file pasted with special paste command.

The table appears in the pdf file in low quality and a bit blurry , but if I manually export the same drawing from Inventor, the table is exported to pdf correctly. So I guess the problem is related to the code used in the macro, but I don't get where is the problem. Any idea how could I fix it?

0 Likes
Reply
506 Views
4 Replies
Replies (4)

A.Acheson
Mentor
Mentor

Can you provide the code you used and the resulting image also for the manually export provide the steps and the resulting image?  There is likely a setting that can be changed. 

If this solved a problem, please click (accept) as solution.‌‌‌‌
Or if this helped you, please, click (like)‌‌
Regards
Alan
0 Likes

WCrihfield
Mentor
Mentor

I assume you are referring to the API Sample code posted within the online help area, at the following link?

https://help.autodesk.com/view/INVNTOR/2022/ENU/?guid=SaveAsPDFTranslator_Sample 

If so, then have you tried setting the "Vector_Resolution" option to a higher value?

The following image is from the Options dialog, when you manually export a drawing to a PDF.

WCrihfield_0-1675704769934.png

 

As you can see, there are many other values available that you could specify there.  I usually recommend at least 720 DPI, if not more, depending on your needs.  I used to always set it to 4800, but ran into a few unusual results with that setting in a few situations, so reduced it a bit, but always at or above the 720 level.  There are actually a whole lot more options available within that translator add-in, but I believe the same translator add-in is also used for the DWF & DWFx file types, so the other options are likely for those scenarios.

 

 

Wesley Crihfield

EESignature

(Not an Autodesk Employee)

0 Likes

dibujocad
Enthusiast
Enthusiast

Yes, I referred to the API sample code included at the link.

I set the "Vector_Resolution" option to a higher value and nothing changed, but anyway I will try to set a value higher than 720DPI as you have recommended me just in case it could solve the problem.

0 Likes

dibujocad
Enthusiast
Enthusiast

The used code is the API sample code which appears at this link: 

Inventor 2022 Help | Save as PDF Translator Sample | Autodesk 

 

 

0 Likes