## NurbsSurface.Knots

### Description

Returns a KnotCollection for a given UV direction.

### C# Syntax

    // get accessor

    KnotCollection NurbsSurface.get_Knots( siNurbsDirection );

### Parameters

Parameter | Type | Description
--- | --- | ---
NurbsDirection | siNurbsDirection | Nurbs direction coordinate (U or V)

### Examples

#### VBScript Example

    set oObject = Application.ActiveProject.ActiveScene.Root.AddGeometry("Sphere","NurbsSurface")

    set oNurbsSurfaceMesh = oObject.ActivePrimitive.Geometry

    set oNurbsSurface = oNurbsSurfaceMesh.Surfaces(0)

    set oUKnots = oNurbsSurface.Knots(siUDirection)