Re: [Jmol-users] tip of the day -- how to tell if cartoons are on or not

2012-05-31 Thread Rolf Huehne
On 05/30/2012 09:56 PM, Robert Hanson wrote: Problem: I want a button that toggles cartoons on / off, switching with ball and stick Solution: select *; if ({*}.cartoons) { wireframe -0.1;spacefill 23% } else { cartoons only } Explanation: {...}.cartoons gives the average cartoon size

Re: [Jmol-users] tip of the day -- how to tell if cartoons are on or not

2012-05-31 Thread Alexander Rose
Hi, Try testing for {cartoon=0}.length. = select *; if ({cartoon0}.length) { wireframe -0.1;spacefill 23% } else { cartoons only } The .cartoon atom property is the size of the cartoon which in turn is a mixture of sizes for the different parts - ribbons and traces - the cartoon is made off.

Re: [Jmol-users] tip of the day -- how to tell if cartoons are on or not

2012-05-31 Thread Robert Hanson
On Thu, May 31, 2012 at 4:51 AM, Rolf Huehne rhue...@fli-leibniz.de wrote: Q: Is it also possible to distinguish partial settings from complete settings (other than looping through all residues and test individually)? Probably the best way to do that is select cartoon = 0 and see if you

[Jmol-users] Arrows and Lines

2012-05-31 Thread Otis Rothenberger
Bob, Lines (and curves) are draggable and arrows are not. Is this a correct observation? I am seeing that while arrows do not actually move, the new arrow position resulting from a drag attempt is reported in the console. Again is this correct? Otis -- Otis Rothenberger o...@chemagic.com