grasshopper2 Rhinorhino3d.com
ComponentAuto-generatedData
Replace Nulls
00000000-aa54-4348-a25e-d9bb116246b7
object preview List inputlist · requiredList with nulls to replace.Replacement inputitem · optionalOptional replacement value.Method inputinteger · item · requiredReplacement method.Repaired List outputlistList with replaced nulls.Replacement Count outputinteger · itemNumber of replacements.

⚠️ This content is auto-generated.

Replace all the nulls in a list.

Input parameters:

  1. Li → List with nulls to replace.
  2. Rp → Optional replacement value.
  3. Mt → Replacement method.
    • 0 → None
    • 1 → Value
    • 2 → Closest (L)
    • 3 → Closest (T)
    • 4 → Leading
    • 5 → Leading*
    • 6 → Trailing
    • 7 → Trailing*

Output parameters:

  1. Li → List with replaced nulls.
  2. Rn → Number of replacements.