[python-win32] howto get the typename of a comobject

2015-03-30 Thread 闫飞
Hi,I have the same problem ,do u have a solution about it ? tks Best Regards, Fei Yan 闫飞 Technical Engineer ___ python-win32 mailing list python-win32@python.org https://mail.python.org/mailman/listinfo/python-win32

Re: [python-win32] howto get the typename of a comobject

2015-03-30 Thread Tim Roberts
闫飞 wrote: Hi,I have the same problem ,do u have a solution about it ? tks Did you read any of the responses in that thread? There was a very good explanation. Another possibility is to get the IDispatch interface from the object, call GetTypeInfo to fetch the ITypeInfo interface, then call

Re: [python-win32] howto get the typename of a comobject

2015-02-05 Thread Andreas Holtz
Hi Anton, I think you need to rely to generated Python-Com-objects aka early binding. See http://timgolden.me.uk/python/win32_how_do_i/generate-a-static-com-proxy.html for details. There was another page explaining the differences really nicely between late and early binding and how to enforce

Re: [python-win32] howto get the typename of a comobject

2015-02-04 Thread Amaury Forgeot d'Arc
2015-02-03 23:49 GMT+01:00 anton anto...@gmx.de: Hi, I an using python using win32com.client to pilot CATIA. I try to get the structure of the loaded CATProducts CATParts and CATDrawings. For this I would like to get the typename of the com objects like Document or Product. In the

[python-win32] howto get the typename of a comobject

2015-02-03 Thread anton
Hi, I an using python using win32com.client to pilot CATIA. I try to get the structure of the loaded CATProducts CATParts and CATDrawings. For this I would like to get the typename of the com objects like Document or Product. In the vba example people use the VBA function TypeName() to get