Hi All,
I've just started on trying to learn macros today, by following this series which I found really good.
SOLIDWORKS - Introduction to Macros: Coding [Pt. 2] - YouTube
I got through and followed the first one fine, and was able to understand the gist of this one.
However, when I tried to follow the tutorial, an error shows up saying "Type mismatch" and the debugger shows a problem with the line "Set swApp = Application.SldWorks" which was there by default.
Could someone please tell me where I've gone wrong? I've attached my macro file for reference.
SolidworksApi/macros