https://pymolwiki.org/index.php?title=Get_unused_name&feed=atom&action=history
Get unused name - Revision history
2024-03-29T12:36:58Z
Revision history for this page on the wiki
MediaWiki 1.35.7
https://pymolwiki.org/index.php?title=Get_unused_name&diff=9298&oldid=prev
Speleo3 at 15:36, 18 August 2011
2011-08-18T15:36:43Z
<p></p>
<table class="diff diff-contentalign-left diff-editfont-monospace" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 15:36, 18 August 2011</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l22" >Line 22:</td>
<td colspan="2" class="diff-lineno">Line 22:</td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>* [[get_legal_name]]</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>* [[get_legal_name]]</div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">* [[get_object_list]]</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">* [[get_names]]</ins></div></td></tr>
</table>
Speleo3
https://pymolwiki.org/index.php?title=Get_unused_name&diff=9296&oldid=prev
Speleo3: Created page with "'''get_unused_name''' is an API only function that returns a new object name. ''New in PyMOL version 1.2'' == PyMOL API == <source lang="python"> cmd.get_unused_name(string pr..."
2011-08-18T15:26:44Z
<p>Created page with "'''get_unused_name''' is an API only function that returns a new object name. ''New in PyMOL version 1.2'' == PyMOL API == <source lang="python"> cmd.get_unused_name(string pr..."</p>
<p><b>New page</b></p><div>'''get_unused_name''' is an API only function that returns a new object name.<br />
<br />
''New in PyMOL version 1.2''<br />
<br />
== PyMOL API ==<br />
<br />
<source lang="python"><br />
cmd.get_unused_name(string prefix='tmp', int alwaysnumber=1)<br />
</source><br />
<br />
== Example ==<br />
<br />
This will create objects "tmp01", "tmp02", "tmp03":<br />
<br />
<source lang="python"><br />
cmd.create(cmd.get_unused_name(), 'none')<br />
cmd.create(cmd.get_unused_name(), 'none')<br />
cmd.create(cmd.get_unused_name(), 'none')<br />
</source><br />
<br />
== See also ==<br />
<br />
* [[get_legal_name]]</div>
Speleo3