Retrieve selected TreeNode from Robot Program

Hello,

Is there a way to retrieve a reference to the currently selected TreeNode from the current robot program?

example
Using the previous program as an example, I have a URCap program node as root with various children nodes. And in this scenario, I would like to get a reference to the Waypoint_1 TreeNode.

Thanks,
Alexander