private void setAbondField(String str1, String str2, double x) {
		if (!(model instanceof MolecularModel))
			return;
		MolecularModel m = (MolecularModel) model;
		int lb = str1.indexOf("[");
		int rb = str1.indexOf("]");
		double z = parseMathExpression(str1.substring(lb + 1, rb));
		if (Double.isNaN(z))
			return;
		int i = (int) Math.round(z);
		if (i >= m.bends.size() || i < 0) {
			out(ScriptEvent.FAILED, "Angular bond " + i + " doesn't exisit.");
			return;
		}
		String s = str2.toLowerCase().intern();
		boolean b = true;
		if (s == "strength")
			if (Math.abs(x) < ZERO) {
				m.bends.remove(m.bends.get(i));
			} else {
				m.bends.get(i).setBondStrength(x);
			}
		else if (s == "bondangle")
			m.bends.get(i).setBondAngle(x);
		else {
			out(ScriptEvent.FAILED, "Cannot set property: " + str2);
			b = false;
		}
		if (b)
			notifyChange();
	}