This is a read-only mirror of pymolwiki.org

Set bond

From PyMOL Wiki
Revision as of 03:36, 28 March 2014 by Bell (talk | contribs) (4 revisions)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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