I'm just dipping my toes into the world of API/Macros. There is an example on the solidworks web site that I think I can modify for my needs, but I cannot get it to run.
Here is the link to the macro:
I think I've followed the instructions properly, but when I try and run it I get a
on this line:
Set swAssembly = swModel
Reading other threads, I may not have my references setup properly, but I'm not sure what I am missing.
Any help would be appreciated.