I'm sure this is trivial, but I'm obviously missing something simple!

I have 2 buttons; 1 to colour my model blue, and 1 to reset the colours:

Jmol.jmolButton(jmol, "select model=1.1; color blue","button1")
Jmol.jmolButton(jmol, "select model=1.1; set defaultColors Jmol","button2")

...but the second button doesn't change the colours back!

I've also tried variations:

Jmol.jmolButton(jmol, "set defaultColors Jmol; color model=1.1","button2")
Jmol.jmolButton(jmol, "select atoms; set defaultColors Jmol","button1")

etc etc, but none work. What have I done wrong?!

Cheers,
Chris

----------------------
Dr Chris Wood
STFC Rutherford Appleton Laboratory
Didcot
OX11 0QX

[email protected]
Tel: +44(0)1235 567864

-- 
Scanned by iCritical.

------------------------------------------------------------------------------
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to