Home | Trees | Indices | Help |
|
---|
|
ViewerFramework.VFCommand.Command --+ | mvCommand.MVCommand --+ | AddBondsCommand
The AddBondsCommand is a command to connect two given atoms.This command will not allow the creation inter-molecular bonds.This command doesn't have a GUI interface and can only be called through the pyShell. Package : Pmv Module : bondsCommands Class : AddBondsCommand Command : addBonds Synopsis: None<-addBonds(atom1,atom2) Required Arguments: atom1 : first atom atom2 : second atom Optional Arguments: bondOrder : Integer specifying the bondOrder of the bond that is going to be created between atom1 and atom2.The bondOrder by default is 1. origin : string describing how bond was specified
|
|||
|
onAddCmdToViewer(self) method called when an instance of this command is added to the viewer. |
||
|
setupUndoBefore(self,
atom1,
atom2,
bondOrder=1,
origin='UserDefined') This method builds the self.undoCmds string. |
||
| undo(self, atom1, atom2, **kw) | ||
|
__call__(self,
atom1,
atom2,
bondOrder=1,
origin='UserDefined',
**kw) None<-addBonds(atom1, atom2) |
||
|
doit(self,
atom1,
atom2,
**kw) virtual method. |
||
Inherited from Inherited from Inherited from |
|
|||
Inherited from |
|
|
|
|
None<-addBonds(atom1, atom2) atom1 : first atom atom2 : second atom bondOrder : Integer specifying the bondOrder of the bond that is going to be created between atom1 and atom2.The bondOrder by default is 1. origin : string describing how bond was specified
|
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0alpha3 on Fri Nov 2 14:14:29 2007 | http://epydoc.sourceforge.net |