RE: how to pass an array to a VB array via COM

2005-05-09 Thread Stefan Schukat
April 29, 2005 4:56 PM > To: python-list@python.org > Subject: Re: how to pass an array to a VB array via COM > > > Hi Stefan, > > Thanks for your insightful and in-depth response! > Wonderful to hear that a solution is in the works, that's absolutely > wonderful

Re: how to pass an array to a VB array via COM

2005-04-29 Thread jelle
Hi Stefan, Thanks for your insightful and in-depth response! Wonderful to hear that a solution is in the works, that's absolutely wonderful news. If I can help you out beta-testing the PySafeArray implementation, I'd be delighted to do so. Thanks again, Jelle. -- http://mail.python.org/mailman/l

RE: how to pass an array to a VB array via COM

2005-04-27 Thread Stefan Schukat
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of > jelle > Sent: Tuesday, April 26, 2005 12:31 PM > To: python-list@python.org > Subject: how to pass an array to a VB array via COM > > > Hi, > > I'm trying

Re: how to pass an array to a VB array via COM

2005-04-26 Thread jelle
Thomas, No, i went over the syntax extensively. The syntax is RS.AddCurve(points, degree), so 3 represents the degree of a bezier curve. I'm doing fine with all types of functions which use 2 x,y,z coords, but all arrays -tuple of tuples- fail. The odd thing is that when i use RS.GetPoints() which

Re: how to pass an array to a VB array via COM

2005-04-26 Thread Thomas Heller
"jelle" <[EMAIL PROTECTED]> writes: > Hi, > > I'm trying to script Rhino -the nurbs modeller, not the server soft- > via COM. > Which is good fun, except i cant seem to pass arrays to the program. > I suppose its expecting VB arrays, and is not to keen when i send a > tuple: > > RS.AddCurve(((1,2,

Re: how to pass an array to a VB array via COM

2005-04-26 Thread jelle
No I haven't, it might be an idea. Would it be an effective method though? I have little experience working with COM, but i suppose writing an (VB!) array wouldnt be the most challenging problem, though browsing through this list it looks like no good solution arrived yet. Cheers, Jelle -- http

Re: how to pass an array to a VB array via COM

2005-04-26 Thread Steve Holden
jelle wrote: Hi, I'm trying to script Rhino -the nurbs modeller, not the server soft- via COM. Which is good fun, except i cant seem to pass arrays to the program. I suppose its expecting VB arrays, and is not to keen when i send a tuple: RS.AddCurve(((1,2,3),(4,5,6),(7,8,9)),3) --- Traceback (most

how to pass an array to a VB array via COM

2005-04-26 Thread jelle
Hi, I'm trying to script Rhino -the nurbs modeller, not the server soft- via COM. Which is good fun, except i cant seem to pass arrays to the program. I suppose its expecting VB arrays, and is not to keen when i send a tuple: RS.AddCurve(((1,2,3),(4,5,6),(7,8,9)),3) --- Traceback (most recent cal