<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.pymol.org/index.php?action=history&amp;feed=atom&amp;title=Set_name</id>
	<title>Set name - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.pymol.org/index.php?action=history&amp;feed=atom&amp;title=Set_name"/>
	<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Set_name&amp;action=history"/>
	<updated>2026-08-04T08:59:48Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.35.1</generator>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=Set_name&amp;diff=9850&amp;oldid=prev</id>
		<title>Asceyman at 15:56, 31 July 2007</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Set_name&amp;diff=9850&amp;oldid=prev"/>
		<updated>2007-07-31T15:56:34Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;===DESCRIPTION===&lt;br /&gt;
'''set_name''' can be used to change the name of an object or selection.&lt;br /&gt;
&lt;br /&gt;
Not only can you simply rename an object or selection, but this command is also a powerful tool for those who deal with multiple structures in one file --- say a collection of NMR models.  The user can execute the [[Split_States]] command and then rename the molecule of choice in the state of choice.  For example, if one loads an NMR structure (with, say, 20 states) and aligns it to another structure, the balance of the alignment will (most likely) be off due to the weighting of the 19 other structures you probably don't see.  To overcome this problem, one simply executes [[Split_States]] and then renames one of the states and then aligns that newly renamed object.&lt;br /&gt;
&lt;br /&gt;
===USAGE===&lt;br /&gt;
 set_name old_name, new_name&lt;br /&gt;
&lt;br /&gt;
===PYMOL API===&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
cmd.set_name(string old_name, string new_name) &lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==User Comments/Examples===&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
cmd.set_name(&amp;quot;example&amp;quot;, &amp;quot;nicename&amp;quot;)&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Commands|set_name]]&lt;/div&gt;</summary>
		<author><name>Asceyman</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=Set_name&amp;diff=9847&amp;oldid=prev</id>
		<title>Tree at 04:55, 23 February 2005</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Set_name&amp;diff=9847&amp;oldid=prev"/>
		<updated>2005-02-23T04:55:50Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;===DESCRIPTION===&lt;br /&gt;
 &lt;br /&gt;
   &amp;quot;set_name&amp;quot; can be used to change the name of an object or selection&lt;br /&gt;
   &lt;br /&gt;
===USAGE===&lt;br /&gt;
 &lt;br /&gt;
   set_name old_name, new_name&lt;br /&gt;
   &lt;br /&gt;
===PYMOL API===&lt;br /&gt;
 &amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
   cmd.set_name(string old_name, string new_name) &lt;br /&gt;
 &amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Commands|set_name]]&lt;/div&gt;</summary>
		<author><name>Tree</name></author>
	</entry>
</feed>