Create JPEG of Drawing (idw) through Inventor API

Create JPEG of Drawing (idw) through Inventor API

Anonymous
Not applicable
4,414 Views
22 Replies
Message 1 of 23

Create JPEG of Drawing (idw) through Inventor API

Anonymous
Not applicable
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
0 Likes
4,415 Views
22 Replies
Replies (22)
Message 21 of 23

Anonymous
Not applicable
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.
0 Likes
Message 22 of 23

Crstiano
Collaborator
Collaborator
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

0 Likes
Message 23 of 23

Tom.DiGregorio2DPCZ6
Enthusiast
Enthusiast

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.

0 Likes