Verifies a surface object is periodic in the specified direction.
Rhino.IsSurfacePeriodic (strObject, intDirection)
strObject |
Required. String. The object's identifier. |
intDirection |
Required. Number. The direction, either 0 = U, or 1 = V. |
Boolean |
True if successful, otherwise False. |
Null |
On error. |
Const rhObjectSurface = 8
Dim strObject
strObject = Rhino.GetObject("Select a surface", rhObjectSurface)
If Rhino.IsSurfacePeriodic(strObject, 0) Then
Rhino.Print "The surface is periodic in the U direction."
Else
Rhino.Print "The surface is not periodic in the U direction."
End If