Which arguments are taken by a certain method in RhinoCommon

RhinoScriptSyntax has its explicit guide, but I am struggling with Rhino common.
How to be aware of which arguments are taken by a certain method in Rhino common API.
For instance, the Curve.Extreme Parameters method demands exactly 2 arguments, they are a “curve” and a “vector”. As a Python user, I can’t find any clue about that. Of course, there are syntax examples for C# and VB but nevertheless, it doesn’t help me, I just see that the method requires a “vector” parameter and any more.

And one more thing that can’t grab why for some methods (in the list of methods) their arguments are shown but for others are missed:

1 Like

A non-static class method obviously needs an instance. It likely depends on states of the class instance.

In C# and VB a non-static method is always called like this:

while in Python you can write it the same as above or like this:
ExtremeParameters(myCurve, myVector)

Rhinocommon is a library written for C#/VB.Net. So if the language doesn’t support this “feature”, then it doesn’t make sense to document this case. Instead, IronPython developers should be aware of this detail.

I think parameters are only given if there are different overloads for a given method.


Much obliged for your clarification!

1 Like