REPLACE THE CURVE THAT MATCHES THE VALUE OF THE DEFINE TABLE¶
Looks up a key value inside a define-table and replaces the associated curve with a new curve, returning the updated table. Use this worker when you need to swap out a single curve entry in a value-keyed lookup table without rebuilding the entire table.
Inputs¶
| Label | ID | Type | Default | Required | Description |
|---|---|---|---|---|---|
| Define Table | dt1 | define_table | — | The input define-table containing value-to-curve pairs; the worker searches this table for the entry matching the supplied value and replaces its curve. | |
| Value | value | scalar | — | Scalar key used to locate the target row in the define-table; must match one of the table’s existing key values exactly. | |
| Curve | curve | vector | — | The replacement curve (x-y vector) that will be written into the define-table at the row identified by the supplied value. |
Outputs¶
| Label | ID | Type | Description |
|---|---|---|---|
| Define Table | define_table | define_table | Updated define-table identical to the input except that the curve paired with the matching value has been replaced by the new curve. |
Disciplines¶
- data.curve.pair
- data.dataset.transform
Runnable example¶
A runnable example is registered for this worker. Open the example workflow on the d3VIEW canvas: /api/workflow/example?id=definetable_replace_curve_by_value
Auto-generated from transformation schema. Worker id: definetable_replace_curve_by_value. Schema hash: 0ba5307c10b7. Hand-curated docs in workerexamples/ override this page when present.