Difference between revisions of "Rename"

From PyMOLWiki
Jump to navigation Jump to search
m
Line 31: Line 31:
 
[[alter]]
 
[[alter]]
  
[[Category:Commands|rename]]
+
[[Category:Commands|Rename]]

Revision as of 10:22, 20 June 2009

DESCRIPTION

rename creates new atom names which are unique within residues.

USAGE

CURRENT

rename object-name [ ,force ]
force = 0 or 1 (default: 0)

PROPOSED

rename object-or-selection,force

PYMOL API

CURRENT

cmd.rename( string object-name, int force )

PROPOSED

cmd.rename( string object-or-selection, int force )

NOTES

To regerate only some atom names in a molecule, first clear them with an "alter (sele),name=" commmand, then use "rename"

SEE ALSO

alter