JoinCurves

Joins two or more curve object together to form one or more curves or polycurves.

Syntax

rhinoscriptsyntax.JoinCurves ( object_ids, delete_input=False, tolerance=None )

rhinoscript.curve.JoinCurves ( object_ids, delete_input=False, tolerance=None )

Parameters

object_ids

Required.  List.  A list of strings or Guids identifying the curve objects to join.

delete_input

Optional.  Boolean.  Delete input objects after joining.  The default is not to delete objects (False).

tolerance

Optional.  Number.  The join tolerance. If omitted, 2.1* the document's absolute tolerance is used.

Returns

List

A list of Guids identifying the newly created curve objects if successful.

None

If not successful, or on error.

Example

import rhinoscriptsyntax as rs

objs = rs.GetObjects("Select curves to join", rs.filter.curve)

if objs: rs.JoinCurves(objs)

Also See

ExplodeCurves

IsCurve

IsCurveClosed