This content has been marked as final. Show 2 replies
the answer is yes. Probably the most speed way is to create an exe application using C#. Then these are the steps to do in the laced-up code:
- Allocate an SldWorks class object: at runtime this get a Solidworks reference object from the runnning Solidworks process or create one;
- Then use SldWorks.RunMacro2 to run your macro file.
I hope this help you.
Thanks, I will try that.