Difference between revisions of "Set bond"

From PyMOLWiki
Jump to navigation Jump to search
(Created page with '= Overview = Set_bond sets properties on bonds. This is usually some atom-connecting property like Line_width or line_color. = Syntax = <source lang="python"> # set...')
(No difference)

Revision as of 16:12, 6 July 2009

Overview

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

Syntax

# 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