×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

How to Get Model Image From API?

How to Get Model Image From API?

How to Get Model Image From API?

(OP)
Does anyone know how to get an image of the currently opened model through the API?  It would be nice to be able to save it out as a jpg, bmp, png, ...

Thanks for any help you can give!

RE: How to Get Model Image From API?

(OP)
I forgot to mention that basically I want to perform the same thing through the API that you can do by File->Save a Copy and then selecting JPG in the type combo box.  Again, I appreciate any help!

RE: How to Get Model Image From API?

Take a look at the ProRasterFileWrite() routine.

-Hora

RE: How to Get Model Image From API?

Set the following 3 config.pro settings:

save_bitmap (allows to save screen image everytime you save model)
save_bitmap_type (saves as jpg, bmp...)
bitmap_size (file size in pixels)

Steve

http://www.sprdesign.com
http://www.3dlogix.com

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources