ExplodeCurves

Explodes, or un-joins,  one more curve objects.  Polycurves will be exploded into curve segments.  Polylines will be exploded into line segments.  ExplodeCurves will return the curves in topological order.

Syntax

rhinoscriptsyntax.ExplodeCurves (curve_ids, delete_imput=False)

rhinoscript.curve.ExplodeCurves (curve_ids, delete_imput=False)

Parameters

curve_ids

Required.  String, Guid, or list of Strings or Guid.  The identifier of the curve object(s) to explode.

delete_input

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

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

crv = rs.GetObject("Select curve to explode", rs.filter.curve)

if rs.IsCurve(crv): rs.ExplodeCurves(crv)

Also See

IsCurve

IsPolyCurve

IsPolyline

JoinCurves