findTreeParentChain method

Set<Part> findTreeParentChain()

Return a collection of Parts including this Node, its tree parent link and node, and so on up the chain to the root node.

This calls #findTreeParentLink and #findTreeParentNode. Links for which Link#isTreeLink is false are ignored.

This may result in undefined behavior if there are cycles of Links that are Link#isTreeLink.

The result will include this node and the "root" node and all nodes and links in between. The root node is also accessible directly via #findTreeRoot. If any of the nodes are Groups, their member parts are not included. @return {Set.

Implementation

_i3.Set<_i3.Part> findTreeParentChain() => _i4.callMethod(
      this,
      'findTreeParentChain',
      [],
    );