set_bond

“set_bond” changes per-bond settings for all bonds which exist between two selections of atoms.

Usage

set_bond name, value, selection1 [, selection2 ]

Arguments

name = string: name of the setting

value = string: new value to use

selection1 = string: first set of atoms

selection2 = string: seconds set of atoms {default: (selection1)}

Example

set_bond stick_transparency, 0.7, */n+c+ca+o 

Notes

The following per-bond settings are currently implemented. Others may seem to be recognized but will currently have no effect when set at the per-bond level.

  • valence
  • line_width
  • line_color
  • stick_radius
  • stick_color
  • stick_transparency

Note that if you attempt to use the “set” command with a per-bond setting over a selection of atoms, the setting change will appear to take, but no change will be observed.

See Also

Plus

 
command/set_bond.txt
 
Copyright © Schrödinger, LLC. All Rights Reserved.