The presentations I delivered at SolidWorks World 2014 (“SolidWorks API for Total Beginners” and “Using Microsoft Excel with the SolidWorks API”) are now available for public viewing. Both of these videos contain new material, so even if you’ve watched the tutorials at CADSharp.com, check them out because you might pick up something new. Here’s how…
Read More
San Diego is, in my opinion, one of the best locations for SolidWorks World, between the beautiful convention center, great weather, and fun Tuesday night special event. Combine that with the consistently high-quality learning and networking opportunities available at every SolidWorks World, and I am really excited about attending this year. For those hoping to…
Read More
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…
Read More
It’s that time of year again. The latest major release of SolidWorks is upon us, and with it comes a delightful assortment of awesome new enhancements to the SolidWorks API. New API Calls Here’s a list of the most significant: Access feature data for Mirror Part and Fill Pattern features. Access flat-pattern and sheet metal…
Read More
This video summarizes the contents of this post and demonstrates the examples listed below. Ever wanted a macro so tightly integrated with a part or assembly that 1) the macro always ran as long as the model was open, 2) the macro traveled with the model wherever it went? Using a clever, undocumented trick involving…
Read More
Given the ubiquity of Microsoft Excel in engineering departments worldwide, it is no surprise that our “Using Microsoft Excel with the SolidWorks API” tutorial, available to Premium members, is one of our most popular. While I am not going to cover all of the material presented in that lesson, I do want to provide you…
Read More
In a hurry? Just watch the video above. It covers the most important points. If your scenario isn’t covered in the video, then I probably cover it in this article. Overview SolidWorks 2013 includes VBA 7—the latest version of Microsoft’s Visual Basic for Applications. This is great news for several reasons, the most significant being:…
Read More
You’ve written your first “serious” SolidWorks API macro. You’re ready to share with your co-workers. You fire up your email, attach the macro, and click Send. Expecting an avalanche of compliments, you instead get several responses from your co-workers telling you that the macro doesn’t run. “Doesn’t run?! How can that be? It runs fine…
Read More
SolidWorks World 2013, hosted at Disney World in Orlando, is right around the corner. This year in particular looks like a great year for SolidWorks API learners and enthusiasts. If you’re attending, below is a list I’ve compiled of all presentations related to the SolidWorks API. If you have the opportunity, definitely join me on…
Read More
I received a great question from one of my newer customers the other day: “Why can’t I ever seem to get an API Help example to work right after copying and pasting it into the Visual Basic Editor?” The answer, simply, is that the text is rarely transferred over perfectly. As demonstrated in the tutorial…
Read More