Verifies an object is a Brep, or a boundary representation model, object.
Rhino.IsBrep (strObject)
strObject |
Required. String. The object's identifier. |
Boolean |
True if successful, otherwise False. |
Null |
On error. |
Dim strObject
strObject = Rhino.GetObject("Select a Brep")
If Rhino.IsBrep(strObject) Then
Rhino.Print "The object is a Brep."
Else
Rhino.Print "The object is not a Brep."
End If