However, it seems like the compiler only recognises the 3rd overload - GetBoundingBox(Transform). Feeding a Plane or a Boolean to the method returns a conversion error. How can I use the other overloads given by the RhinCommon API?
Iām working on Visual Studio with the latest RhinoCommon and Grasshopper template.
When you have multiple overloads for a method, the C# compiler will try to choose the best match based on the arguments that you provide. In some cases, it can be ambiguous which overload should be called, and you may need to provide more information to disambiguate.
In your case, it seems that the compiler is having trouble choosing between the overloads because the argument you are providing could be interpreted as either a Plane or a Boolean. To disambiguate, you can use an explicit cast to the type you want
I hope this helps!