Accessing Details of NURBS Objects
 
 
 

Developers that need to access that internal of 3ds Max NURBS objects can see the following methods to get at details such as knot counts, CV counts, order, weight and position data. The main call is GetNURBSSet() with the argument Relational set to FALSE. This will fill in the NURBSSet with the surfaces, curves and independent points of the object passed. The surfaces will all be NURBSCVSurface's and the curves will all be NURBSCVCurve's. These can be retrieved from the NURBSSet with: NURBSSet::GetNumObjects() and NURBSSet::GetNURBSObject().

Given a NURBSControlVertex the position and weights can be retrieved via the member functions: NURBSControlVertex::GetPosition() and NURBSControlVertex::GetWeight().