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 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"). >
It has been a long time, but I think that "print myobject" displays the typename... > > Do you have a hint or small example? > > Thanks > > Anton > > _______________________________________________ > python-win32 mailing list > python-win32@python.org > https://mail.python.org/mailman/listinfo/python-win32 > -- Amaury Forgeot d'Arc
_______________________________________________ python-win32 mailing list python-win32@python.org https://mail.python.org/mailman/listinfo/python-win32