Skip to main content

ACP in-app scripting API 2026 R1

visit

Last update: 16.07.2026

Rosette.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.

Connect with Ansys