if (colix == Graphics3D.USE_PALETTE && pid != JmolConstants.PALETTE_CPK)
return; //palettes not implemented for bonds
BondIterator iter = (selectedBonds != null ? modelSet.getBondIterator(selectedBonds)
: modelSet.getBondIterator(myMask, bs));
while (iter.hasNext()) {
int iBond = iter.nextIndex();
Bond bond = iter.next();
bond.setColix(colix);
bsColixSet.set(iBond, (colix != Graphics3D.INHERIT_ALL
&& colix != Graphics3D.USE_PALETTE));
}