API: Continuously capture images of a model on repaint notification (VBA)

File uploaded by Joyce Bossom Employee on Nov 4, 2010Last modified by Joyce Bossom Employee on Nov 2, 2012
Version 3Show Document
  • View in full screen mode

This VBA macro shows how to continuously capture bitmap images of a model on repaint notification.

  1. Unpack the archive in a convenient location.
  2. Open a model document in SolidWorks.
  3. Run the VBA macro.
  4. Select OK in the dialog box.
  5. Whenever a RepaintNotify event occurs in the model veiw, a bitmap of the model view is saved in the same directory as the document.
  6. Close the document to disconnect the event sink and stop capturing screens.

 

Note:
- Subscription Services required for full access.

- Looking for more API Examples?

 

Copyright © 2011 Dassault Systèmes SolidWorks Corp. All rights reserved.
Do not distribute or reproduce without the written consent of Dassault Systèmes SolidWorks Corp.

Attachments

Outcomes