Creates a curve that duplicates a surface or polysurface border.
rhinoscriptsyntax.DuplicateSurfaceBorder (surface_id, type=0)
rhinoscript.surface.DuplicateSurfaceBorder (surface_id, type=0)
surface_id |
Required. String or Guid. The identifier of the surface or polysurface object. |
||||||||
type |
Optional. Number. The border curves to return. The possible values are
|
List |
A list of Guids identifying the new curve objects if successful. |
None |
If not successful, or on error. |
import rhinoscriptsyntax as rs
surface = rs.GetObject("Select surface or polysurface", rs.filter.surface | rs.filter.polysurface)
if surface: rs.DuplicateSurfaceBorder( surface )