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
> *mws*=*cst*.OpenFile('D:\Gowrishankar\PDF\cuboid.cst')
> ##############
> *mws.StoreParameter('len2',10.1)
> *
> *mws.StoreParameter("s",5)*
> ##I don't get any error message for them. And usually this should
> store a variable and its values in CST but it didn't do
> *Esolver=mws.EigenmodeSolver()*
> *### I got the following error message*
> Traceback (most recent call last):
>   File "<stdin>", line 1, in <module>
>   File "C:\Anaconda\lib\site-packages\win32com\client\dynamic.py",
> line 192, in __call__
>     return
> self._get_good_object_(self._oleobj_.Invoke(*allArgs),self._olerepr_.defaultDispatchName,None)
> pywintypes.com_error: (-2147352573, 'Mitglied nicht gefunden.', None,
> None)

That's 0x80020003, DISP_E_MEMBERNOTFOUND, meaning that it did not find
the name in its dispatch table.  Are you absolutely sure you have the
spelling correct?  Could it be EigenModeSolver, for example? 
Capitalization matters.

-- 
Tim Roberts, t...@probo.com
Providenza & Boekelheide, Inc.

_______________________________________________
python-win32 mailing list
python-win32@python.org
https://mail.python.org/mailman/listinfo/python-win32

Reply via email to