Owing to the popularity of our post titled Write A Powerful Macro From Scratch I decided to create another free video along the same lines. Unlike my beginner-level videos, this series assumes you already have a basic knowledge of the API (especially the API Help). That way we can focus on nothing but coding.
In this video I’ll show you how to create a left-hand version of a part using the Mirror and Delete Body feature. (The beauty of this method is that both right-hand and left-hand versions reside in the same document.) Then I show you how perform this operation in bulk on all parts in a specified folder. But that’s not all. You’ll also see how assumptions play a very important role in your code. I’ll also show you the importance of comments for outlining, testing, and prefacing code.
Download file set and completed code (files will open in SolidWorks 2011)
What do you think? Let me know if you want to see more videos of this kind in the future.
Want to keep up with future CADSharp.com content, webinars, and special offers? Sign up for our newsletter.