Difference between revisions of "Rename"
|Line 30:||Line 30:|
Latest revision as of 16:12, 13 January 2012
rename creates new atom names which are unique within residues.
rename object-name [ ,force ] force = 0 or 1 (default: 0)
cmd.rename( string object-name, int force )
cmd.rename( string object-or-selection, int force )
To regerate only some atom names in a molecule, first clear them with an "alter (sele),name=" commmand, then use "rename"
Or for rename an object set_name