We just upgraded to SolidWorks 2010 from 2007. I wrote a few macros using 2007. I made sure to change the references when I opened them in 2010. They appear to run fine, but I can't get the userforms to pop up correctly.
When I run a macro, it looks like nothing happens except the solidworks screen freezes. When I press Ctrl+Alt+Del and open the task manager it shows that the Macro is running. When I click on the macro in the task manager it runs smoothly, but instead of being in the middle of the screen it is in the upper left corner. Does anyone know why the userform is not displaying properly?
One macro is attached.
Thanks,
Tara
SolidworksApi macros