Rename: Difference between revisions

From PyMOLWiki
Jump to navigation Jump to search
No edit summary
 
No edit summary
Line 1: Line 1:
===DESCRIPTION===
===DESCRIPTION===
'''rename''' creates new atom names which are unique within residues.
  "rename" creates new atom names which are unique within residues.
 
===USAGE===
===USAGE===
====CURRENT====
  ====CURRENT====
<source lang="python">
      rename object-name [ ,force ]
rename object-name [ ,force ]
force = 0 or 1 (default: 0)
      force = 0 or 1 (default: 0)
</source>
 
  ====PROPOSED====
====PROPOSED====
      rename object-or-selection,force  
<source lang="python">
rename object-or-selection,force
</source>
 
===PYMOL API===
===PYMOL API===
====CURRENT====
  =====CURRENT====
<source lang="python">
      cmd.rename( string object-name, int force )
cmd.rename( string object-name, int force )
</source>
  ====PROPOSED====
 
      cmd.rename( string object-or-selection, int force )
====PROPOSED====
<source lang="python">
cmd.rename( string object-or-selection, int force )
</source>
 
===NOTES===
===NOTES===
To regerate only some atom names in a molecule, first clear them with an "alter (sele),name=''" commmand, then use "rename"
  To regerate only some atom names in a molecule, first clear them
 
  with an "alter (sele),name=''" commmand, then use "rename"
===SEE ALSO===
===SEE ALSO===
[[alter]]
  [[Cmd alter]]


[[Category:Commands|rename]]
[[Category:Commands|rename]]

Revision as of 13:37, 29 January 2006

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