Blog 11.16.2012 1 Comment

The time has come for another free video tutorial! In this tutorial, novice SolidWorks API programmers learn just how easy it is to create a powerful macro from scratch in under a half hour. In this particular example, we write a macro that deletes all of the balloons attached to Toolbox parts in a selected drawing view. The idea came from the SolidWorks API forums, where a gentleman said that such a macro would save him lots of time as he detailed drawings.

Unlike some of my other videos, I don’t explain every single piece of code (though I explain enough to help any beginners), but instead I get right down to business, outlining the steps needed to program the macro and testing the code each step of the way. As you watch this video, you should get a better idea of how I write powerful macros quickly and hopefully glean some insights as a result.


Download file set and completed code (files will open in SolidWorks 2011 and beyond)


  • The file set is not the exact same one used in the video tutorial since I needed to quickly create a new file set for compatibility in SolidWorks 2011 and 2012.
  • If you do not have toolbox installed, or do not have it installed at C:\SolidWorks Data, simply create that folder on your C:\, place the hex bolt part file in there, and update your file references accordingly the next time you open the assembly.

I hope you found this tutorial helpful. Feel free to leave feedback!


Want to keep up with future content, webinars, and special offers? Sign up for our newsletter.

One Comment

  1. Awesome video! Thanks for sharing! Learned some new tricks.

Questions and Comments

You must be logged in to post a comment.