[Jmol-users] Using select none in jmolButton

2008-09-30 Thread Jon Binkley
Hi, I have a hide button encoded thusly: jmolButton(select *:A; hbonds off; spacefill off; backbone off; wireframe off; trace off; slab off; ribbons off; cartoons off; label off; isoSurface surfA off; dots off; geoSurface surfA off; select none;, Hide) This hides chain 'A' as expected,

Re: [Jmol-users] Using select none in jmolButton

2008-09-30 Thread Angel Herráez
Hi Jon select none should work; being in a button is meaningless. Unless there has been an error and the script has being terminated. Check the console or the Java console for errors. Yes! geosurface does not accept the surface id. Check the doc. Anyway, you have an easier solution that

Re: [Jmol-users] Using select none in jmolButton

2008-09-30 Thread Jon Binkley
On Sep 30, 2008, at 11:56 AM, Angel Herráez wrote: Yes! geosurface does not accept the surface id. Check the doc. That did it! jmolButton(hide hidden or *:A;, Hide) And that does it even better-- many thanks, Angel. -Jon Binkley

Re: [Jmol-users] Using select none in jmolButton

2008-09-30 Thread Angel Herráez
Glad the solution suited you, Jon The general way of finding problems with scripted buttons and such is to copy the script and paste it one command at a time in the console. There you easily see if the command works and any errors that show up.