how to pass an array to a VB array via COM
Thomas Heller
theller at python.net
Tue Apr 26 13:35:32 EDT 2005
"jelle" <jelleferinga at gmail.com> 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,3),(4,5,6),(7,8,9)),3)
To me it looks like you should try this instead, although this is pure
speculation:
RS.AddCurve(((1,2,3),(4,5,6),(7,8,9)))
Thomas
More information about the Python-list
mailing list