“cmd.set_bond” changes per-bond settings for all bonds which exist between two selections of atoms.
cmd.set_bond ( string name, string value,
string selection1,
string selection2,
int state, int updates, log=0, quiet=1)
def set_bond(name, value, selection1, selection2=None,
state=0, updates=1, log=0, quiet=1):