grasshopper2 Rhinorhino3d.com
ComponentAuto-generatedData
Swap Items
00000000-6a52-43a9-80d9-ff274d07e785
object preview
This page was generated from the component’s built-in descriptions. An in-depth article has not been written for it yet.

Swap the places of items in a list, pair by pair.

Input parameters:

  1. Li → List whose items to swap.
  2. Ia → First index of each swapping pair.
  3. Ib → Second index of each swapping pair.

Output parameters:

  1. Li → Modified list.
  2. Mp → Index map containing the changes applied to the list.