Joins two or more surface or polysurface objects together to form one polysurface object.
rhinoscriptsyntax.JoinSurfaces ( object_ids, delete_input=False )
rhinoscript.surface.JoinSurfaces ( object_ids, delete_input=False )
object_ids |
Required. List. An ordered list of strings or Guids identifying the surfaces or polysurfaces objects to join. |
delete_input |
Optional. Boolean. Delete input objects after joining. The default is not to delete objects (False). |
Guid |
The identifier of the newly created polysurface object if successful. |
None |
If not successful, or on error. |
import rhinoscriptsyntax as rs
objs = rs.GetObjects("Select surfaces in order", rs.filter.surface)
if objs and len(objs)>1: rs.JoinSurfaces(objs)