I have just downloaded a CAD model as a macro (.swp). When I run it it begins to build the assembly but throws a type Mismatch error on the the following line:
od(x * yld + y) = od(x * yld + y) + ld(i * yld + y) * rd(x * yrd + i)
Any ideas how to fix this.
Regards Matt
SolidworksApi macros