    

 ## On this page

  

 

 # visit

 Last update: 16.07.2025 

<a id="compolyx.SolidElementSet.visit"></a>

#### SolidElementSet.visit(visitor)

Walk through the tree and let the visitor perform action on every descendant node.

- **Parameters:**

- visitor: A callable which accepts a TreeNode instance as parameter

Returns True if the visitor returned True for at least one descendant/linked node. If this is the case, the tree traversal is pruned.