Universal Robots Forum

GetRootTreeNode to insert a new element on Robot Program level?

Hi Guys,
I have the following question:
The functionality “GetRootTreeNode” must be used to set a new structure element in the robot program. Is it possible to set the root element to the level “Robot Program”? (The top level in the robot program)

Thanks You!

You can only add new elements which are children or grand-children of yourself.
The user is responsible of adding nodes in the top-level.