instances
running in any COM client.
Stefan
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of Tim Golden
> Sent: Friday, August 31, 2007 1:36 PM
> To: Thomas Rademacher
> Cc: python-list@python.org
> Subject: Re: win
Thomas Rademacher wrote:
> Hello,
>
> I start my script convert.py simultaneously in any dos-shells several
> times. But I get every time the same solidworks instance.
> I see in the proccess (task) manager only one solidworks.exe
> Therefore I get for all simultaneous conversions the same output
Problem solved.
Turns out it was a problem of mistranslating VBS code to Python.
The PYTHON line "print str(tet)" casts tet to a string and prints. This
is what I thought the VBS line "Str = Tet.ConvertToString()" was doing.
But of course "ConvertToString()" is a method of a Tet instance. So in
p
Gabriel Genellina wrote:
> Run it on the debugger step by step, and inspect all the intermediate objects.
> Synergy.StudyDoc might be a function, by example, so you should add
> another pair of ().
> This is not obvious looking at the VB code.
(Sorry, tied up this arvo so I could respond to your
At Tuesday 24/10/2006 23:20, [EMAIL PROTECTED] wrote:
> tet = Synergy.StudyDoc.GetFirstTet(), perhaps?
com_error: (-2147352573, 'Member not found.', None, None)
Sorry, should have mentioned that I tried that already. Any thoughts on
how to establish if the problem is with win32com or the 3rd p
Have you tried late binding? Does late binding produce the same error?
Regards,
Aries
[EMAIL PROTECTED] wrote:
> I'm interacting with a third party application using python and com.
> However having problems and don't know what to look at next to resolve
> the issue.
>
> The app. can be driven b
At Tuesday 24/10/2006 22:15, [EMAIL PROTECTED] wrote:
Set Tet = Synergy.StudyDoc.GetFirstTet()
tet = Synergy.StudyDoc.GetFirstTet
Can you see the difference...?
--
Gabriel Genellina
Softlab SRL
__
Correo Yahoo!
Espacio para todos tus mensaje
> tet = Synergy.StudyDoc.GetFirstTet(), perhaps?
com_error: (-2147352573, 'Member not found.', None, None)
Sorry, should have mentioned that I tried that already. Any thoughts on
how to establish if the problem is with win32com or the 3rd party app?
--
http://mail.python.org/mailman/listinfo/py
[EMAIL PROTECTED] wrote:
> I'm interacting with a third party application using python and com.
> However having problems and don't know what to look at next to resolve
> the issue.
>
> The app. can be driven by VBS. The following VBS code works:
>
> Set Synergy = CreateObject("synergy.Synergy")