Joins two or more mesh object together to form a single mesh object.
rhinoscriptsyntax.JoinMeshes (object_ids, delete_input=False)
rhinoscript.mesh.JoinMeshes (object_ids, delete_input=False)
object_ids |
Required. List or tuple. A list of Guids or strings identifying the mesh 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 mesh object if successful. |
None |
If not successful, or on error. |
import rhinoscriptsyntax as rs
objs = rs.GetObjects("Select meshes to join", rs.filter.mesh)
if objs and len(objs)>1: rs.JoinMeshes(objs, True)