I am sure I am missing something but is there a simple way to select all top level group nodes in a scene with Python?Tnx!
cmds.select ( cmds.ls( "|*" ) )
will select all top level object nodes