HI!
If you
look at the documentation, you will see that the remove method() is inherited from the Node class and takes no argument.
It removes the Node ( Group, Shape3D ) that you call the method on.
So if you have a Shape3D called shape1 and you go shape1.remove(), shape1 will be removed, not its eventual children.
" Removes this node from the node tree, saving its child nodes.
NOTE that remove method only remove the current node and NOT its children!
To remove the current node and all its children please refer to the destroy method.
The child nodes of this node becomes child nodes of this node's parent."
There are also methods for removing children, like removeChildByID() and removeChildByName().
Good luck!
/Petit