[python-win32] Problem with Rhapsody automation: It is Impossible?

2007-08-02 Thread sccs cscs
Hello, Our team uses Visual Basic for Rhapsody Automation, but we now would like to use Python. But it seems to be IMPOSSIBLE. Indeed, it seems that there is no Polymorphism in Python so that when i get back a daughter instance Class, it does not not work, i continue to have the corresponding

Re: [python-win32] Problem with Rhapsody automation: It is Impossible?

2007-08-02 Thread Michael L Torrie
sccs cscs wrote: Hello, Our team uses Visual Basic for Rhapsody Automation, but we now would like to use Python. But it seems to be IMPOSSIBLE. Indeed, it seems that there is no Polymorphism in Python so that when i get back a daughter instance Class, it does not not work, i continue to

Re: [python-win32] Problem with Rhapsody automation: It is Impossible?

2007-08-02 Thread Tim Roberts
sccs cscs wrote: Hello, Our team uses Visual Basic for Rhapsody Automation, but we now would like to use Python. But it seems to be IMPOSSIBLE. Indeed, it seems that there is no Polymorphism in Python so that when i get back a daughter instance Class, it does not not work, i continue to have

Re: [python-win32] Problem with Rhapsody automation: It is Impossible?

2007-08-02 Thread Jerry Hill
On 8/2/07, sccs cscs [EMAIL PROTECTED] wrote: # HERE IS THE ERROR: The theIRPModelElement is a IRPType which is # a specialization of a IRPModelElement, but Python continue to see it like an IRPModelElement Take a look at the win32com.client.CastTo() function. You probably