Table of Contents

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.

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

cmd.set_bond | commands

Plus

Settings