Rename: Difference between revisions

From PyMOLWiki
Jump to navigation Jump to search
mNo edit summary
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
===DESCRIPTION===
 
'''rename''' creates new atom names which are unique within residues.
'''rename''' creates new atom names which are unique within residues.


Line 30: Line 30:
===SEE ALSO===
===SEE ALSO===
[[alter]]
[[alter]]
Or for rename an object
[[set_name]]


[[Category:Commands|Rename]]
[[Category:Commands|Rename]]

Latest revision as of 15:12, 13 January 2012

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

Or for rename an object set_name