Home | Trees | Indices | Help |
|
---|
|
ViewerFramework.VFCommand.Command --+ | mvCommand.MVCommand --+ | 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.
|
|||
|
onAddCmdToViewer(self) method called when an instance of this command is added to the viewer. |
||
|
__call__(self,
nodes,
levelToSplit,
top,
renumber=True,
**kw) mol <- splitNodes(nodes, levelToSplit, top, renumber=1, **kw)... |
||
|
doit(self,
nodes,
levelToSplit,
top,
**kw) virtual method. |
||
Inherited from Inherited from Inherited from |
|
|||
Inherited from |
|
|
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
|
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0alpha3 on Fri Nov 2 14:14:31 2007 | http://epydoc.sourceforge.net |