RENAME CURVE BY INDEX¶
Renames a single curve within a collection by its positional index, replacing the existing name with a user-supplied string. Use this worker when you need to relabel a specific curve in a multi-curve set without altering the other curves.
Inputs¶
| Label | ID | Type | Default | Required | Description |
|---|---|---|---|---|---|
| Curves | curves | vector | — | Collection of input curves (vector) from which one curve will be renamed; supply all curves that belong to the set, including the target. | |
| Index | index | string | — | Zero- or one-based positional index (string) identifying which curve in the collection to rename; e.g. “0” for the first curve. | |
| New Name | new_name | string | — | Replacement label (string) to assign to the curve at the specified index; leave empty to keep the existing name unchanged. |
Outputs¶
| Label | ID | Type | Description |
|---|---|---|---|
| curves_rename_by_index_output_1 | curves_rename_by_index_output_1 | vector | Full curve collection returned with the target curve renamed; all other curves are passed through unmodified. |
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_rename_by_index
Auto-generated from transformation schema. Worker id: curves_rename_by_index. Schema hash: 15412432b138. Hand-curated docs in workerexamples/ override this page when present.