Python output parameter

I’m trying to get a specific output format from Rhino.Geometry.Quaternion.GetRotation, which will return either (bool,plane) or (float,vector). In C# or VB you can set the specific out put that you need. Is there anyway possible to do this in python?

In these rare cases, you’ll need to explicitly pick which overload to use. Here’s a blog post on the topic