Get Parameter From Combination
The unboxer that makes each sweep value usable
- combination
- value
Every SweepGrid setup ends with the same question: the combination node is holding a tuple of values, but your sampler wants a single number. Get Parameter From Combination is the unboxer - you point it at one named parameter and it hands that single value down the wire, once per combination, in order. It's the glue that connects the sweep machinery to a real input, and it does nothing else, which is exactly why it's easy to underrate and hard to live without.
How it works
Two inputs, two choices. combination takes the SWEEP_GRID_COMBINATION list from Build Sweep Combinations. parameter is a combo that lists parameter1 through parameter10 - the internal names, not the pretty titles - defaulting to parameter1. The node looks up that slot by index and emits just that value on a single value output, typed * (any type), one per combination as list execution walks the grid.
Because the sweep nodes carry their titles through, the selector on this node tracks the name you gave the sweep. If you named a sweep steps, its Get Parameter selector reflects that connection, so in a three-parameter grid you drop one of these nodes per parameter and each one's selector already points where you want it. That's the intended pattern: one Get Parameter per swept input, each feeding the target widget (and usually a Format Text node for labeling, so the grid rows tell you what they are).
When you'd reach for it
Straight-line sweep: Define Parameter Sweep → Build Sweep Combinations → Get Parameter → sampler widget, then everything downstream of the sampler runs per combination. The README's own wiring order is worth copying: connect from the target back to the sweep (blend mode input → Get Parameter output → Build Sweep Combinations → Define Parameter Sweep), and the last link is what completes the type inference so the sweep's type follows the input.
The few gotchas
If an upstream sweep input is removed, the selector falls back to Unassigned rather than silently re-pointing at another parameter - you have to reselect after reconnecting. And like its two siblings in the chain, it can't be muted or bypassed; there's no pass-through data to pass, so don't try. It's a thin node, but thin is the point: it's the one wire in the pack that turns "a combination" into "a value a normal ComfyUI input can digest."
Install is the shared pack drill - ComfyUI Manager → "ComfyUI-SweepGrid" → Install, restart, needs ComfyUI 0.31.0+. No model files, no extra dependencies.
Inputs (2)
| Name | Type | Default | Description |
|---|---|---|---|
| combination | SWEEP_GRID_COMBINATION | — | |
| parameter | COMBO | parameter1 | 10 options: parameter1, parameter2, parameter3, parameter4, parameter5, parameter6, +4 |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| value | * | — |