Verifies an object is a polysurface. Polysurfaces consists of two or more surfaces joined together. If the polysurface fully encloses a volume, it is considered a solid. In some other 3-D programs, this is called a "quilt."
Rhino.IsPolysurface (strObject)
strObject |
Required. String. The object's identifier. |
Boolean |
True if successful, otherwise False. |
Null |
On error. |
Dim strObject
strObject = Rhino.GetObject("Select a polysurface")
If Rhino.IsPolysurface(strObject) Then
Rhino.Print "The object is a polysurface."
Else
Rhino.Print "The object is not a polysurface."
End If