Community
Inventor Programming - iLogic, Macros, AddIns & Apprentice
Inventor iLogic, Macros, AddIns & Apprentice Forum. Share your knowledge, ask questions, and explore popular Inventor topics related to programming, creating add-ins, macros, working with the API or creating iLogic tools.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Create JPEG of Drawing (idw) through Inventor API

22 REPLIES 22
Reply
Message 1 of 23
Anonymous
4106 Views, 22 Replies

Create JPEG of Drawing (idw) through Inventor API

Hi,
I wanted to know how to create JPEG image of a drwing (idw) file in Inventor through Inventor API? Is there a way out?

I have even installed the "Export Viewable Files" from the http://www.kwikmcad.com site but am not able to automate it using API.

Can you help me out??

Ankit
22 REPLIES 22
Message 21 of 23
Anonymous
in reply to: Anonymous

The SaveAs method lets you save to other formats, but as you've mentioned,
you can't specify the size in that method. In order to specify size, you
must use SaveAsBitmap. Note that SaveAsBitmap does save to the format
specified in the file extension (as Teun mentioned).

Sanjay-

wrote in message news:5796695@discussion.autodesk.com...
Teun,
The VBA save in BMP with extension JPG.
Because I inform the extension wrong. Ok.

But the problem is a function SaveAsBitmap, is that where I define the
aspectratio.

If you try save in JPG with options (aspectioratio).
If use saveas only, no have teh same options.

Sorry my basic english.
Message 22 of 23
Crstiano
in reply to: Anonymous

Other question is: After create the image file, I need rotate in case the Landscape for Portrait !!

Any ideia?

Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.


Cristiano Oliveira
EESignature
ConsultCAD.com

Message 23 of 23
Tom.DiGregorio2DPCZ6
in reply to: Anonymous

I know this is an old thread but seriously, how is it possible that Inventor does not have a function to save a sheet as an image, NOT A SCREEN SHOT.

Have to save as PDF then using Acrobat save as image.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report