Saving an image file in VBA

Discussion in 'AutoCAD' started by Tim Barbour, May 24, 2004.

  1. Tim Barbour

    Tim Barbour Guest

    I'd like to save a AutoCAD display image to an external file (Tools | Display Image | Save) in a VBA script.

    Any code snippet (or directions) to accomplish this would be appreciated.

    Thanks for your feedback.

    Tim Barbour
     
    Tim Barbour, May 24, 2004
    #1
  2. Tim Barbour

    Jürg Menzi Guest

    Tim

    Try:
    ThisDrawing.Export "c:\Temp\MyImage", "bmp", SelectionSet

    Cheers
     
    Jürg Menzi, May 28, 2004
    #2
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.