Verifies an object is surface. Brep objects with only one face are also considered surfaces.
Rhino.IsSurface (strObject)
strObject |
Required. String. The object's identifier. |
Boolean |
True if successful, otherwise False. |
Null |
On error. |
Dim strObject
strObject = Rhino.GetObject("Select a surface")
If Rhino.IsSurface(strObject) Then
Rhino.Print "The object is a surface."
Else
Rhino.Print "The object is not a surface."
End If