## KnotCollection.Closed

### Description

Returns a Boolean value indicating whether surface mesh is closed (true) or not.

### C# Syntax

    // get accessor

    Boolean rtn = KnotCollection.Closed;

### Examples

#### VBScript Example

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

    set oNurbsSurfaceMesh = oObject.ActivePrimitive.Geometry

    set oUKnots =  oNurbsSurfaceMesh.Surfaces(0).Knots(siUDirection)

    if oUKnots.Closed then

    logmessage "NurbsSurface is closed in U"

    end if