Set bond: Difference between revisions
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 edit summary |
||
Line 1: | Line 1: | ||
= Overview = | = Overview = | ||
[[Set_bond]] sets properties on bonds. This is usually some atom-connecting property like [[Line_width]] or [[line_color]]. | [[Set_bond]] sets properties on bonds. This is usually some atom-connecting property like [[Line_width]] or [[line_color]]. | ||
[[Image:lw2.png|thumb|center|450px|Line_width was set to 10 for residues 1-10]] | |||
= Syntax = | = Syntax = |
Revision as of 15:17, 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