## NurbsSurface.TrimCount

### Description

Returns the number of trims this NurbsSurface contains as a Long.

### C# Syntax

    // get accessor
    Int32 rtn = NurbsSurface.TrimCount;

### Examples

#### VBScript Example

    set oObject = ActiveSceneRoot.AddGeometry("Sphere","NurbsSurface")
    set oNurbsSurfaceMesh = oObject.ActivePrimitive.Geometry
    set oNurbsSurface = oNurbsSurfaceMesh.Surfaces(0)
    LogMessage "Number of trims on this nurbs surface: " & oNurbsSurface.TrimCount

### See Also

NurbsSurfaceMesh.AddSurfaceWithTrim NurbsSurface.GetTrim NurbsSurface.GetTrim2