Set bond

From PyMOLWiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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

Line_width was set to 10 for residues 1-10

Syntax

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

Examples

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

See Also