Pulls a curve object to a surface object. For more information, see the Rhino help file for information on the Pull command.
rhinoscriptsyntax.PullCurve(surface, curve, delete_input=False)
rhinoscript.surface.PullCurve(surface, curve, delete_input=False)
surface |
Required. String or Guid. The identifier of the surface object that pulls. |
curve |
Required. String or Guid. The identifier of the curve object to pull. |
delete_input |
Optional. Boolean. Delete input curve. If omitted, the input curve will not be deleted (False). |
List |
The identifiers of the new curve objects if successful. |
None |
If not successful, or on error. |
import rhinoscriptsyntax as rs
curve = rs.GetObject("Select curve to pull", rs.filter.curve )
surface = rs.GetObject("Select surface that pulls", rs.filter.surface )
rs.PullCurve(surface, curve)