API: Create Spring Macro Feature (VBA)

Document created by Cheryl O'Neill Employee on Dec 13, 2010Last modified by Cheryl O'Neill Employee on Mar 18, 2013
Version 3Show Document
  • View in full screen mode

This example shows how to create a Spring macro feature.


  1. Download the macro, SpringMacroFeature.swp.
  2. Start up SolidWorks and open SpringMacroFeature.swp.
  3. Create a new part document.
  4. Sketch a circle and close the sketch.
  5. Run the macro to open the Spring PropertyManager page.
  6. Select the sketch of the circle.
  7. Select the check mark in the Spring PropertyManager page to create the Spring macro feature.


This macro was tested using SolidWorks 2011 SP1.


- Subscription Services required for full access.

- Looking for more API Examples?


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