grasshopper2 Rhinorhino3d.com
ComponentAuto-generatedData
Clean Tree
00000000-0309-4c2c-814a-0ca512701d35
object preview
This page was generated from the component’s built-in descriptions. An in-depth article has not been written for it yet.

Clean a data tree by nulls, invalid items and empty twigs.

Input parameters:

  1. Tr → Tree to clean.
  2. Nn → If true, null values are removed from all twigs.
  3. Xx → If true, invalid values are removed from all twigs.
  4. Oo → If true, twigs with no leaves are removed.

Output parameters:

  1. Tr → Cleaned tree.
  2. Dt → Number of twigs that were removed.
  3. Di → Number of items and nulls that were removed.