Class SplitNodesCommand

This class allows the user to split current selection from unselected nodes.
Package:Pmv
Module :editCommands
Class:SplitNodesCommand
Command:splitNodes
Synopsis:
mol<---splitNodes(nodes, levelToSplit, top, renumber=1, **kw)
Required Arguments:
nodes --- TreeNodeSet holding the current selection
levelToSplit --- the splitting level
top ---
renumber --- default is 1
if levelToSplit is Molecule/Protein, the new molecule is returned
OTHERWISE the modified molecule is returned
The split is done at a level above nodes. If more than one level above nodes exists,
the user chooses the level at which to split. Result of split depends on the designated
splitting level:
splits at the Protein/Molecule level result in a new Protein/Molecule
splits at other levels result in adding new nodes to the Protein/Molecule:
eg. splitting at the chain level adds a new chain to the Protein, etc. etc.

mol <- splitNodes(nodes, levelToSplit, top, renumber=1, **kw)
nodes --- TreeNodeSet holding the current selection
levelToSplit --- the splitting level
top ---
renumber --- default is 1
if levelToSplit is Molecule/Protein, the new molecule is returned
OTHERWISE the modified molecule is returned