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.
rhinocsriptsyntax.ReverseSurface (object_id, direction)
rhinocsript.surface.ReverseSurface (object_id, direction)
object_id |
Required. String or Guid. The object's identifier. |
||||||||
direction |
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. |
None |
On error. |
import rhinoscriptsyntax as rs
obj = rs.GetObject("Select a surface to reverse")
ff rs.IsSurface(obj):
rs.ReverseSurface( obj, 1 )