OK, I checked that in, both in 10.3 and in 10.x. Works like a charm! Thanks.

select within(3.0, atomset)

like select within group, chain, molecule (in 10.x), and model, is specifically within a given model. Works far more naturally, since generally one can only display one model at a time anyway, pretty much.

Bob


Timothy Driscoll wrote:

On May 9, 2006, at 5:21 p, Nicolas Vervelle wrote:


Timothy Driscoll wrote:

On May 9, 2006, at 4:08 p, Nicolas Vervelle wrote:

as one example, it makes scripting multi-model animations much easier. for instance, I can use this script:

select all
spacefill 30%
wireframe 0.25
select within(4.0, ligand)
color green
anim on

to visualize, with just a few script commands, how the binding site for a ligand behaves across different models. this would be more difficult if within were restricted by model. not impossible, but not as elegant in my opinion.



I am not proposing to restrict it to one model (it's already possible with specifying the model number), but so that within- distance takes each models separately. In your above example, it would select all atoms that are less than 4.0 distant to a ligand in their model. Currently, it selects all atoms that are less than 4.0 distant to a ligand in any other model.


ah, my mistake. in that case, I agree with Nico and Bob. within() should distinguish between models in this manner.


thanks Nico,

tim




-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to