JoinSurfaces

Joins two or more surface or polysurface objects together to form one polysurface object.

Syntax

rhinoscriptsyntax.JoinSurfaces ( object_ids, delete_input=False )

rhinoscript.surface.JoinSurfaces ( object_ids, delete_input=False )

Parameters

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).

Returns

Guid

The identifier of the newly created polysurface object if successful.

None

If not successful, or on error.

Example

import rhinoscriptsyntax as rs

objs = rs.GetObjects("Select surfaces in order", rs.filter.surface)

if objs and len(objs)>1: rs.JoinSurfaces(objs)

Also See

ExplodePolysurfaces

IsPolysurface

IsPolysurfaceClosed

IsSurface

IsSurfaceClosed