Re: [Jmol-users] Jmol Variable Iteration

2015-01-08 Thread Otis Rothenberger
I'm not sure if this is relevant because I don't fully understand the context of this email chain. I'll offer this thought anyway. A while back (years) there was a discussion of global vs local Jmol variables. I also did not fully understand this discussion! Nevertheless, this made all my glob

Re: [Jmol-users] Jmol Variable Iteration

2015-01-08 Thread Nelson Liu
Hi Rolf, Interesting that direct variable substitution doesn't work, thanks again! On Thu Jan 08 2015 at 4:48:26 AM Rolf Huehne wrote: > On 01/08/2015 01:39 PM, Nelson Liu wrote: > > Ah, I thought this was a continuation of the previous email, but i guess > I > > just hit reply. Can I use @i to

Re: [Jmol-users] Jmol Variable Iteration

2015-01-08 Thread Rolf Huehne
On 01/08/2015 01:39 PM, Nelson Liu wrote: > Ah, I thought this was a continuation of the previous email, but i guess I > just hit reply. Can I use @i to select residue numbers? I looked in the > documentation of the select statement, and it seemed like there was no > explicit property for residue n

Re: [Jmol-users] Jmol Variable Iteration

2015-01-08 Thread Nelson Liu
Ah, I thought this was a continuation of the previous email, but i guess I just hit reply. Can I use @i to select residue numbers? I looked in the documentation of the select statement, and it seemed like there was no explicit property for residue numbers. Thanks! On Thu Jan 08 2015 at 4:37:02 AM

Re: [Jmol-users] Jmol Variable Iteration

2015-01-08 Thread Rolf Huehne
On 01/08/2015 01:23 PM, Nelson Liu wrote: > Hi Rolf, > I was wondering how one would utilize a variable in a FOR loop in Jmol. > This is my current code, but it doesn't select any atoms. > for (var i = 5; i< 92; i++){ > select @i and chain = A; > } > Nelson, please ask on the jmol-users list s

Re: [Jmol-users] Output in console details about currently selected atoms

2015-01-08 Thread Nelson Liu
Great, that's exactly what I was looking for. Thanks! Nelson Liu On Thu Jan 08 2015 at 3:50:31 AM Rolf Huehne wrote: > On 01/08/2015 12:22 PM, Nelson Liu wrote: > > Good Morning, > > Is there any way to get details about currently selected atoms in the > > console? I know you can use labels, but

Re: [Jmol-users] Output in console details about currently selected atoms

2015-01-08 Thread Rolf Huehne
On 01/08/2015 12:22 PM, Nelson Liu wrote: > Good Morning, > Is there any way to get details about currently selected atoms in the > console? I know you can use labels, but they are a bit hard to read. e.g. > if I selected all beta pleated sheets in a protein (select sheets), how > could I output th

[Jmol-users] Output in console details about currently selected atoms

2015-01-08 Thread Nelson Liu
Good Morning, Is there any way to get details about currently selected atoms in the console? I know you can use labels, but they are a bit hard to read. e.g. if I selected all beta pleated sheets in a protein (select sheets), how could I output the residue #'s occupied by the beta pleated sheets as