Re: [python-win32] To control commercial software CST through python

2017-04-27 Thread gowri shankar
Thanks for the suggestion guys. But, my problem is, i am able to open CST from Python but other commands which works in MATLAB don't work in python. MATLAB commands** *cst = actxserver('CSTStudio.application') % to open the CST* *

Re: [python-win32] To control commercial software CST through python

2017-04-27 Thread Tim Roberts
gowri shankar wrote: > > /*I was not able to convert these following MATLAB commands into > python. I got errors.* / > /mws.invoke('StoreParameter','a',a); %These are the COM interface > commands from MATLAB to CST/ > /mws.invoke('StoreParameter','b',b);/ > /

Re: [python-win32] To control commercial software CST through python

2017-04-27 Thread Tim Roberts
gowri shankar wrote: > > Thanks for bringing out my inadequacies. By the by i am using Python > 2.7.8 |Anaconda 2.1.0 (64-bit). > Here are the error codes for the same: > > import win32com.client > *cst* = win32com.client.Dispatch("CSTStudio.Application") > #Opens a new CST file >