GET CURVES BY INDEXES. USEFUL FOR EXTRACTING A CURVE FOR A COLLECTION OF CURVES USING THE ORDER.

Extracts one or more curves from a collection by their zero-based positional indexes. Provide a comma-separated list of indexes to retrieve the corresponding curves in order. Use this worker when you need to select specific curves from a larger group by position rather than by name or attribute.

When to use

Classification: process.

Tagged: curve_group, curves, getbyindexes, index, selection, subset.

Inputs

Label ID Type Default Required Description
Curves curves vector   Input collection of curves (CurveGroup / vector) from which individual curves will be selected; accepts multiple curves.
Indexes Separated By Commas indexesseparatedby_commas string 0   Zero-based positional indexes of the curves to extract, supplied as a comma-separated string (e.g. “0,2,4”); defaults to “0” (first curve).

Outputs

Label ID Type Description
curves_getbyindexes_output_1 curves_getbyindexes_output_1 vector Subset of the input curve collection containing only the curves that correspond to the requested indexes, returned as a vector/CurveGroup.

Disciplines

  • data.curve.pair

Runnable example

A runnable example is registered for this worker. Open the example workflow on the d3VIEW canvas: /api/workflow/example?id=curves_getbyindexes


Auto-generated from transformation schema. Worker id: curves_getbyindexes. Schema hash: 3188bf567a75. Hand-curated docs in workerexamples/ override this page when present.