API: Add sheet metal bend information to drawing view notes (VBA)

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

This VBA macro shows how to add sheet metal bend information to drawing view notes.

 

  1. Download and unpack bend_stats.zip.
  2. Open SolidWorks.
  3. Edit VBA macro, bendInfo_sketchSpace.swp, in SolidWorks.
  4. Open samplesheet.slddrw.
  5. Open and minimize sampleSheet2.sldprt.
  6. Select Drawing View7 containing the sheet metal flat pattern.
  7. Run the macro.


Postconditions: Sheet metal bend information is printed on drawing view notes
attached to each bend's flat pattern sketch segment and in the Immediate window.

 

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