Difference between revisions of "Set Dihedral"

From PyMOLWiki
Jump to: navigation, search
Line 1: Line 1:
 
===DESCRIPTION===
 
===DESCRIPTION===
"set_dihedral" will set a given dihedral angle give the four atoms and one angle.
+
'''set_dihedral''' sets a given dihedral angle give the four atoms and one angle.
  
 
===USAGE===
 
===USAGE===
Line 6: Line 6:
  
 
===PYMOL API===
 
===PYMOL API===
<source lang="python">
+
<source lang="python">
  editing.set_dihedral(string atom1,string atom2,string atom3,string atom4,float angle,state=1,quiet=1):
+
editing.set_dihedral(string atom1,string atom2,string atom3,string atom4,float angle,state=1,quiet=1):
</source>
+
</source>
  
 
===EXAMPLES===
 
===EXAMPLES===
Line 14: Line 14:
  
 
===SEE ALSO===
 
===SEE ALSO===
[[Cmd get dihedral]]
+
[[Cmd get dihedral]]
  
 
[[Category:Commands|set_dihedral]]
 
[[Category:Commands|set_dihedral]]
 
[[Category:Editing_Module|Set Dihedral]]
 
[[Category:Editing_Module|Set Dihedral]]

Revision as of 16:36, 18 September 2005

DESCRIPTION

set_dihedral sets 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