Where is the NURBs data (C++ SDK)

Trying to write a simple script using the C++ SDK, I have managed to get a NURB surface. But how do I get the information about the nurbs…?

What I need is: The knot vector with weights, coordinates and the degree

If you’re working on a “simple script”, there are easier ways than C++ (which is in my opinion the most complicated). Rhinoceros can be programmed with Python and C#, both of which are to be preferred above C++.

Check out the various options here http://wiki.mcneel.com/developer/home

To try to answer your question though, for C++, there are code samples here:


Specifically I suppose


You can always use Rhino’s List command…