Reverses the U and V directions of a surface object. This feature can also be found in Rhino's Dir command.
To reverse the normal direction of a surface, use the FlipSurface method.
Rhino.ReverseSurface (strObject, intDirection)
strObject |
Required. String. The object's identifier. |
||||||||
intDirection |
Required. Number. The direction to reverse. Values can be added together so as to reverse more than one direction.
|
Boolean |
True or False indicating success or failure. |
Null |
On error. |
Dim strObject
strObject = Rhino.GetObject("Select a surface to reverse")
If Rhino.IsSurface(strObject) Then
Rhino.ReverseSurface strObject, 1
End If