https://wiki.pymol.org/index.php?title=Set_bond&feed=atom&action=historySet bond - Revision history2024-03-28T08:21:39ZRevision history for this page on the wikiMediaWiki 1.35.1https://wiki.pymol.org/index.php?title=Set_bond&diff=8834&oldid=prevBell: 4 revisions2014-03-28T03:36:04Z<p>4 revisions</p>
<p><b>New page</b></p><div><br />
[[Set_bond]] sets properties on ''bonds''. This is usually some atom-connecting property like [[Line_width]], [[line_color]], [[Stick_radius]].<br />
<br />
[[Image:lw2.png|thumb|center|450px|Line_width was set to 10 for residues 1-10]]<br />
<br />
= Syntax =<br />
<source lang="python"><br />
# set settingName to value for object or selection objSel<br />
set_bond settingName, value, objSel<br />
</source><br />
<br />
= Examples =<br />
<source lang="python"><br />
# Example<br />
load $TUT/1hpv.pdb<br />
remove het<br />
as lines<br />
color blue<br />
set_bond line_with, 5, i. 1-10<br />
</source><br />
<br />
= See Also =<br />
* [[Set]]<br />
* [[Line_width]]<br />
*[[Stick_radius]]<br />
<br />
[[Category:Settings]]<br />
[[Category:Commands]]</div>Bell