Export |
Returns the necessary information to define a NURBS surface for a given [!:Autodesk::Revit::DB::HermiteSuface] or [!:Autodesk::Revit::DB::RuledSuface] .
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)

Parameters
- surface Surface
- The HermiteSurface or RuledSurface to be converted.
Return Value
NurbsSurfaceDataA class containing the necessary data to define a NURBS surface.

Exception | Condition |
---|---|
ArgumentException | This surface type is not supported for this function. |
ArgumentNullException | A non-optional argument was null |
InvalidOperationException | Couldn't get NURBS data from surface. |

This function is intended for export purposes.
