Re: Run solidworks macro from python.

Tim Roberts <[email protected]> Thu, 10 Feb 2022 18:41:49 -0800
Newsgroups gmane.comp.python.windows
Message-ID <[email protected]>
On Feb 10, 2022, at 9:39 AM, Sanaa Mouzahir <[email protected]> wrote:
> 
> Or maybe After importing the packages I can just use the same command as the VBA? I know that for excel the function Application.run(macroname) works, but not for solidworks..


Right, because every application defines their own object model.  There’s no “general rule” that applies to all COM servers.  You HAVE to go through the documentation for THAT product, or at least look at some examples.
— 
Tim Roberts, [email protected]
Providenza & Boekelheide, Inc.

_______________________________________________
python-win32 mailing list
[email protected]
https://mail.python.org/mailman/listinfo/python-win32