Nodes/ComfyUI-RvTools_v2/Basic Pipe Multi-Switch
ComfyUI Node

Basic Pipe Multi-Switch

The pipe router that made its author's monster workflows work

By r-vage·Created about a year ago·Updated 5 months ago· 23
Basic Pipe Multi-Switch
  • input1
  • input2
  • input3
  • input4
  • input5
  • BASIC_PIPE

Basic Pipe Multi-Switch [RvTools] is the BASIC_PIPE version of the pack's multi-switch: five input slots, one output, and it returns the first input that isn't None. A BASIC_PIPE is a bundle - typically model + clip + vae + latent (plus extras) carried on a single wire - so this node lets you route whole prepacked pipelines instead of individual tensors.

Why you'd reach for it

If you're working with pipe-based workflows - the style popularized by rgthree's context nodes and the wider "one wire carries everything" movement - you eventually want to switch between two complete setups: one checkpoint path, one Flux path, one SD3 path, each already packed into a pipe. A multi-switch on pipes means you swap entire prepackaged chains with a single bypass instead of re-selecting model, clip, and vae separately.

The README's guidance applies exactly as with the model version: put bypassable candidates in the early slots and the always-on pipeline last, because the first slot that isn't None wins. An always-enabled node in slot 1 makes the rest invisible.

How it works

Identical logic to its siblings - walk input1 through input5, return the first non-None BASIC_PIPE. If every slot is empty (all upstream bypassed), it raises ValueError("Missing Input: Multi Pipe Switch has no active Input") rather than silently passing None downstream. That's the same deliberate-loud-failure design as the model multi-switch, and it's genuinely friendlier than a cryptic sampler error five nodes later.

Inputs: input1input5, all BASIC_PIPE, optional, wire-only.

Output: BASIC_PIPE - the winning pipe.

Install

Standard RvTools install:

  • ComfyUI Manager → search "RvTools" → install ComfyUI-RvTools_v2 → restart.
  • Or: cd ComfyUI/custom_nodes && git clone https://github.com/r-vage/ComfyUI-RvTools_v2, then restart.

No models or downloads; the pack's OpenCV/pilgram deps install alongside it.

Gotchas

Two things worth flagging. First, BASIC_PIPE isn't the only pipe format in the wild - if your other nodes produce a different pipe shape (rgthree's context, or the author's own pipe with 9–15 fields), this socket won't connect. The Pipe In / Pipe Out family in the same pack exists to convert between those. Second, the bypass-early-slots rule is easy to violate when you copy a workflow around: check slot order before you spend twenty minutes wondering why slot 3 never gets used.

Pack history, one more time, because it keeps biting people: RvTools v1's GitHub was pulled down in early 2025 and users were left copying the folder between ComfyUI installs; v2 is the renamed re-release (renaming every node was its whole reason for existing), and the pack is now deprecated in favor of ComfyUI_Eclipse. For a router like this, migrating is a straight node swap - but old saved graphs won't map v1 names automatically.

Category🫦 RvTools II/ Multi-Switches

Inputs (5)

NameTypeDefaultDescription
input1optBASIC_PIPE
input2optBASIC_PIPE
input3optBASIC_PIPE
input4optBASIC_PIPE
input5optBASIC_PIPE

Outputs (1)

NameTypeDescription
BASIC_PIPEBASIC_PIPE