Difference between revisions of "Set name"

From PyMOLWiki
Jump to navigation Jump to search
 
Line 1: Line 1:
 
===DESCRIPTION===
 
===DESCRIPTION===
+
'''set_name''' can be used to change the name of an object or selection
  "set_name" can be used to change the name of an object or selection
+
 
 
 
 
===USAGE===
 
===USAGE===
   
+
  set_name old_name, new_name
  set_name old_name, new_name
+
 
 
 
 
===PYMOL API===
 
===PYMOL API===
<source lang="python">
+
<source lang="python">
  cmd.set_name(string old_name, string new_name)  
+
cmd.set_name(string old_name, string new_name)  
</source>
+
</source>
  
 
[[Category:Commands|set_name]]
 
[[Category:Commands|set_name]]

Revision as of 15:21, 3 January 2006

DESCRIPTION

set_name can be used to change the name of an object or selection

USAGE

set_name old_name, new_name

PYMOL API

cmd.set_name(string old_name, string new_name)