Verifies a polysurface object is closed. If the polysurface fully encloses a volume, it is considered a solid.
Rhino.IsPolysurfaceClosed (strObject)
strObject |
Required. String. The object's identifier. |
Boolean |
True if successful, otherwise False. |
Null |
On error. |
Const rhObjectPolySurface = 16
Dim strObject
strObject = Rhino.GetObject("Select a polysurface", rhObjectPolySurface)
If Rhino.IsPolysurfaceClosed(strObject) Then
Rhino.Print "The polysurface is closed."
Else
Rhino.Print "The polysurface is not closed."
End If