https://wiki.pymol.org/index.php?title=Get_Title&feed=atom&action=historyGet Title - Revision history2024-03-29T05:01:02ZRevision history for this page on the wikiMediaWiki 1.35.1https://wiki.pymol.org/index.php?title=Get_Title&diff=6007&oldid=prevPyadmin: 6 revisions2014-03-28T01:46:57Z<p>6 revisions</p>
<p><b>New page</b></p><div><br />
'''get_title''' retrieves a text string to the state of a particular object which will be displayed when the state is active. This is useful for printing the names of objects (given a state).<br />
<br />
==USAGE==<br />
<source lang="python"><br />
set_title object,state<br />
</source><br />
<br />
==PYMOL API==<br />
<source lang="python"><br />
cmd.set_title(string object,int state,string text) <br />
</source><br />
<br />
== Example ==<br />
Print out all the object names of the ensemble of states loaded in:<br />
<source lang="python"><br />
for x in range(numStates):<br />
print cmd.get_title("objName", x)<br />
</source><br />
<br />
[[Category:Commands|Get Title]]<br />
[[Category:States|Get Title]]</div>Pyadminhttps://wiki.pymol.org/index.php?title=Get_Title&diff=6005&oldid=prevVinnyrose at 14:03, 20 June 20092009-06-20T14:03:24Z<p></p>
<p><b>New page</b></p><div>==DESCRIPTION==<br />
'''get_title''' retrieves a text string to the state of a particular object which will be displayed when the state is active. This is useful for printing the names of objects (given a state).<br />
<br />
==USAGE==<br />
<source lang="python"><br />
set_title object,state<br />
</source><br />
<br />
==PYMOL API==<br />
<source lang="python"><br />
cmd.set_title(string object,int state,string text) <br />
</source><br />
<br />
== Example ==<br />
Print out all the object names of the ensemble of states loaded in:<br />
<source lang="python"><br />
for x in range(numStates):<br />
print cmd.get_title("objName", x)<br />
</source><br />
<br />
[[Category:Commands|Get Title]]<br />
[[Category:States|Get Title]]</div>Vinnyrosehttps://wiki.pymol.org/index.php?title=Get_Title&diff=6001&oldid=prevTree at 02:09, 22 February 20052005-02-22T02:09:03Z<p></p>
<p><b>New page</b></p><div>===DESCRIPTION=== <br />
"get_title" retrieves a text string to the state of a particular<br />
object which will be displayed when the state is active.<br />
<br />
===USAGE===<br />
set_title object,state<br />
<br />
===PYMOL API===<br />
<source lang="python"><br />
cmd.set_title(string object,int state,string text) <br />
</source><br />
<br />
[[Category:Commands|get_title]]</div>Tree