Re: Passing an object through COM which acts like str but isn't

2008-08-19 Thread Rafe
On Aug 16, 1:25 am, Wolfgang Grafen <[EMAIL PROTECTED]> wrote: > Rafeschrieb: > > > On Aug 15, 10:27 pm, Wolfgang Grafen <[EMAIL PROTECTED]> > > wrote: > >>Rafeschrieb: > > >>> Now if I try to pass this as I would a string, roughly like so... > >> s = StrLike("test") > >> Application.AnObje

Re: Passing an object through COM which acts like str but isn't

2008-08-15 Thread Wolfgang Grafen
Rafe schrieb: On Aug 15, 10:27 pm, Wolfgang Grafen <[EMAIL PROTECTED]> wrote: Rafe schrieb: Now if I try to pass this as I would a string, roughly like so... s = StrLike("test") Application.AnObject.attribute = "test" # works fine Application.AnObject.attribute = s ERROR : Traceback (most re

Re: Passing an object through COM which acts like str but isn't

2008-08-15 Thread Rafe
On Aug 15, 10:27 pm, Wolfgang Grafen <[EMAIL PROTECTED]> wrote: > Rafe schrieb: > > > Forgive me if I mangle any terminology here, but please correct me if > > I do... > > > I have an object which acts exactly like a string as long as I stay in > > Python land. However, I am using the object in Sof

Re: Passing an object through COM which acts like str but isn't

2008-08-15 Thread Wolfgang Grafen
Rafe schrieb: Forgive me if I mangle any terminology here, but please correct me if I do... I have an object which acts exactly like a string as long as I stay in Python land. However, I am using the object in Softimage|XSI, a 3D application on Windows. I'm getting variant erros when trying to u

Re: Passing an object through COM which acts like str but isn't

2008-08-15 Thread Rafe
Forgive me if I mangle any terminology here, but please correct me if I do... I have an object which acts exactly like a string as long as I stay in Python land. However, I am using the object in Softimage|XSI, a 3D application on Windows. I'm getting variant erros when trying to use my instances

Re: Passing an object through COM which acts like str but isn't

2008-08-15 Thread Rafe
The previous message was posted prematurely. Please ignore it. (I hit enter witht he wrong focus I guess...no confirmation or edit available? This was my first post.) - Rafe -- http://mail.python.org/mailman/listinfo/python-list

Passing an object through COM which acts like str but isn't

2008-08-15 Thread Rafe
Forgive me if I mangle any terminology here, but please correct me if I do... I have an object which acts exactly like a string as long as I stay in Python land. However, I am using the object in Softimage|XSI a 3D application on Windows. It was created while (briefly) owned by Microsoft, so knowl