<?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=Show_as</id>
	<title>Show as - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.pymol.org/index.php?action=history&amp;feed=atom&amp;title=Show_as"/>
	<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Show_as&amp;action=history"/>
	<updated>2026-04-04T23:10:21Z</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=Show_as&amp;diff=10172&amp;oldid=prev</id>
		<title>Bell: 5 revisions</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Show_as&amp;diff=10172&amp;oldid=prev"/>
		<updated>2014-03-28T03:53:29Z</updated>

		<summary type="html">&lt;p&gt;5 revisions&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[[show_as]] turns on and off atom and bond [[:Category:Representations|representations]].&lt;br /&gt;
&lt;br /&gt;
=Details=&lt;br /&gt;
&lt;br /&gt;
The available representations are the usual:&lt;br /&gt;
&lt;br /&gt;
(History: Python 2.6 came out with the keyword [[as]] which is also a PyMOL keyword.  So, we had to change the PyMOL-named keyword to [[show_as]].)&lt;br /&gt;
&lt;br /&gt;
*[[lines]]&lt;br /&gt;
*[[spheres]]&lt;br /&gt;
*[[mesh]]&lt;br /&gt;
*[[ribbon]]&lt;br /&gt;
*[[cartoon]]&lt;br /&gt;
*[[sticks]]&lt;br /&gt;
*[[dots]]&lt;br /&gt;
*[[surface]]&lt;br /&gt;
*[[labels]]&lt;br /&gt;
*[[extent]]&lt;br /&gt;
*[[nonbonded]]&lt;br /&gt;
*[[nb_spheres]]&lt;br /&gt;
*[[slice]]&lt;br /&gt;
 &lt;br /&gt;
== USAGE ==&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
show_as representation [, selection ]&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
== ARGUMENTS ==&lt;br /&gt;
*'''representation''' = lines, spheres, mesh, ribbon, cartoon, sticks, dots, surface, labels, extent, nonbonded, nb_spheres, slice, extent, slice, dashes, angles, dihedrals, cgo, cell, callback, everything&lt;br /&gt;
*'''selection''' = string {default: all}&lt;br /&gt;
 &lt;br /&gt;
== EXAMPLES ==&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt; &lt;br /&gt;
# show the backbone as lines&lt;br /&gt;
show_as lines, name ca or name c or name n&lt;br /&gt;
&lt;br /&gt;
# show everything as a ribbon&lt;br /&gt;
show_as ribbon&lt;br /&gt;
&amp;lt;/source&amp;gt; &lt;br /&gt;
== PYMOL API ==&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt; &lt;br /&gt;
cmd.show_as(string representation, string selection)&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
== NOTES ==&lt;br /&gt;
*'''selection''' can be an object name&lt;br /&gt;
*'''as''' alone will turn on lines and nonbonded and hide everything else.&lt;br /&gt;
 &lt;br /&gt;
== SEE ALSO ==&lt;br /&gt;
[[show]],  [[hide]], [[enable]], [[disable]], [[:Category:Representations|All PyMOL Representations]]&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
* PyMOL Source code&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Commands|Show As]]&lt;br /&gt;
[[Category:View Module|Show As]]&lt;/div&gt;</summary>
		<author><name>Bell</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=Show_as&amp;diff=10169&amp;oldid=prev</id>
		<title>Vinnyrose at 15:08, 20 June 2009</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Show_as&amp;diff=10169&amp;oldid=prev"/>
		<updated>2009-06-20T15:08:52Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left diff-editfont-monospace&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 15:08, 20 June 2009&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l51&quot; &gt;Line 51:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 51:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;[[Category:Commands|Show As]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;[[Category:Commands|Show As]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Category:View Module|Show As]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Vinnyrose</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=Show_as&amp;diff=10168&amp;oldid=prev</id>
		<title>Vinnyrose at 14:27, 20 June 2009</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Show_as&amp;diff=10168&amp;oldid=prev"/>
		<updated>2009-06-20T14:27:16Z</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;
(History: Python 2.6 came out with the keyword [[as]] which is also a PyMOL keyword.  So, we had to change the PyMOL-named keyword to [[show_as]].)&lt;br /&gt;
&lt;br /&gt;
[[show_as]] turns on and off atom and bond [[:Category:Representations|representations]], where the available representations are the usual:&lt;br /&gt;
*[[lines]]&lt;br /&gt;
*[[spheres]]&lt;br /&gt;
*[[mesh]]&lt;br /&gt;
*[[ribbon]]&lt;br /&gt;
*[[cartoon]]&lt;br /&gt;
*[[sticks]]&lt;br /&gt;
*[[dots]]&lt;br /&gt;
*[[surface]]&lt;br /&gt;
*[[labels]]&lt;br /&gt;
*[[extent]]&lt;br /&gt;
*[[nonbonded]]&lt;br /&gt;
*[[nb_spheres]]&lt;br /&gt;
*[[slice]]&lt;br /&gt;
 &lt;br /&gt;
== USAGE ==&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
show_as representation [, selection ]&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
== ARGUMENTS ==&lt;br /&gt;
*'''representation''' = lines, spheres, mesh, ribbon, cartoon, sticks, dots, surface, labels, extent, nonbonded, nb_spheres, slice, extent, slice, dashes, angles, dihedrals, cgo, cell, callback, everything&lt;br /&gt;
*'''selection''' = string {default: all}&lt;br /&gt;
 &lt;br /&gt;
== EXAMPLES ==&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt; &lt;br /&gt;
# show the backbone as lines&lt;br /&gt;
show_as lines, name ca or name c or name n&lt;br /&gt;
&lt;br /&gt;
# show everything as a ribbon&lt;br /&gt;
show_as ribbon&lt;br /&gt;
&amp;lt;/source&amp;gt; &lt;br /&gt;
== PYMOL API ==&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt; &lt;br /&gt;
cmd.show_as(string representation, string selection)&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
== NOTES ==&lt;br /&gt;
*'''selection''' can be an object name&lt;br /&gt;
*'''as''' alone will turn on lines and nonbonded and hide everything else.&lt;br /&gt;
 &lt;br /&gt;
== SEE ALSO ==&lt;br /&gt;
[[show]],  [[hide]], [[enable]], [[disable]], [[:Category:Representations|All PyMOL Representations]]&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
* PyMOL Source code&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Commands|Show As]]&lt;/div&gt;</summary>
		<author><name>Vinnyrose</name></author>
	</entry>
</feed>