anton
2015-02-03 22:49:51 UTC
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 the name of the type as string.
Unfortunately I didn't find an equivalent function for python
(or at least a way to achieve the same result).
The python type function is here not of use (I get always "COMObject").
Do you have a hint or small example?
Thanks
Anton
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 the name of the type as string.
Unfortunately I didn't find an equivalent function for python
(or at least a way to achieve the same result).
The python type function is here not of use (I get always "COMObject").
Do you have a hint or small example?
Thanks
Anton