Automating SolidWorks 2009 Using Macros

A Visual Studio Tool for Applications Tutorial for SolidWorks users

Out of Print
Published November 19, 2008
374 Pages
ISBN: 978-1-58503-488-8


Automating SolidWorks 2009 Using Macros is designed as a tutorial to help beginner to intermediate programmers develop macros for SolidWorks and SolidWorks Workgroup PDM. This new edition focuses primarily on the new Visual Studio Tools for Applications (VSTA) macro interface. It covers many of the major API functions through practical use cases. It teaches many Visual Basic.NET fundamentals as well as SolidWorks, SolidWorks Workgroup PDM and Excel API functions. The Author has also added a chapter dedicated to some of his favorite source code for you to use as the basis for typical automation procedures.

Using this book you will learn how to:

  • Record macros
  • Control Custom Properties
  • Create parts and features
  • Build assemblies
  • Batch create drawings
  • Extract information from Workgroup PDM
  • Create many other time saving utilities

Table of Contents

  1. Macro Basics
  2. One Button PDF Publishing
  3. Model Parameters Using Excel VBA
  4. Controlling Options
  5. Material Properties
  6. Custom Properties
  7. Model Creation
  8. Data Import
  9. Drawing Automation
  10. Add Assembly Components
  11. Working with File References
  12. Property Manager Pages
  13. Using Notifications (Events) in SolidWorks Macros
  14. Workgroup PDM API Basics
  15. Extract Workgroup PDM Documents
  16. Workgroup PDM Check In
  17. Favorite Code Examples


The files provided by the author for Automating SolidWorks 2009 Using Macros can be downloaded as a zip file by clicking on the link below:

Book files
Download File
16.4 MB

For additional information on downloading, unzipping, and using these files visit the downloads section on our FAQ page.

Related categories:
Books > CAD > SOLIDWORKS > 2009