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