Set bond

From PyMOLWiki
Revision as of 16:17, 6 July 2009 by Inchoate (talk | contribs)
Jump to: navigation, search


Set_bond sets properties on bonds. This is usually some atom-connecting property like Line_width or line_color.

Line_width was set to 10 for residues 1-10


# set settingName to value for object or selection objSel
set_bond settingName, value, objSel

# Example
load $TUT/1hpv.pdb
remove het
as lines
color blue
set_bond line_with, 5, i. 1-10

See Also