Quantcast
Channel: Rhino Developer - McNeel Forum
Viewing all articles
Browse latest Browse all 8524

Use .NET overloads in python

$
0
0

@Willem wrote:

Hi,

It’s new terrain for me so correct my lingo if need be:

It’s my understanding that RhinoCommon methods can have ‘overloads’ to change the outcome or functioning of the method.

For example
Curve.DivideByLength Method (Double, Boolean,Point3d[])
Has the overload to return points instead of parameters.

My understanding is that the third argument passed should be “an empty array of points”

I could not find a way to create such an an empty array of points to pass as third argument in Python to get points returned.

Is that even possible, and if so how would I go about doing that?

Thanks
-Willem

Posts: 3

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 8524

Trending Articles