GET CURVES INDEXES FROM NAMES¶
Looks up the positional indexes of curves within a curve group by matching their names. Provide a comma-separated list of curve names and receive back the corresponding zero-based indexes, which can then be used to address specific curves in downstream workers.
Inputs¶
| Label | ID | Type | Default | Required | Description |
|---|---|---|---|---|---|
| Curves | curves | vector | — | Collection of input curves (curve group / vector of curves) to search within; all curves whose names are to be resolved must be present in this set. | |
| Names | namesseparatedby_commas | string | 0 | Comma-separated list of curve names (strings) whose indexes should be retrieved; values must exactly match the name field of curves in the input collection. |
Outputs¶
| Label | ID | Type | Description |
|---|---|---|---|
| curves_getindexes_by_names | curves_getindexes_by_names | scalar | Scalar (or list of scalars) containing the zero-based positional indexes corresponding to each matched curve name, in the order the names were supplied. |
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_getindexes_by_names
Auto-generated from transformation schema. Worker id: curves_getindexes_by_names. Schema hash: 996bcaf3c4e0. Hand-curated docs in workerexamples/ override this page when present.