This is a read-only mirror of pymolwiki.org
Set Dihedral
Jump to navigation
Jump to search
DESCRIPTION
"set_dihedral" will set a given dihedral angle give the four atoms and one angle.
USAGE
editing.set_dihedral atom1, atom2, atom3, atom4, angle [,state=1] [,quiet=1]
PYMOL API
editing.set_dihedral(string atom1,string atom2,string atom3,string atom4,float angle,state=1,quiet=1):
EXAMPLES
editing.set_dihedral resi 40 and name N, resi 40 and name CA, resi 40 and name CB, resi 40 and name CG, -180
SEE ALSO
Cmd get dihedral