SurfacePointCount

Returns the control points count of a surface object.

Syntax

Rhino.SurfacePointCount (strObject)

Parameters

strObject

Required.  String.  The object's identifier.

Returns

Array

The number of control points in the U and V directions if successful.

Null

If not successful, or on error.

Example

Dim strObject, arrCount

strObject = Rhino.GetObject("Select a surface")

If Rhino.IsSurface(strObject) Then

arrCount = Rhino.SurfacePointCount(strObject)

Rhino.Print "Point count in U direction: " & CStr(ArrCount(0))

Rhino.Print "Point count in V direction: " & CStr(ArrCount(1))

End If

Also See

IsSurface

SurfacePoints