Hi Angel,

thank you very much. The script work perfectly!


> 
>Andrea, this script seems to do what you want:
>
>n1 = {*}.atomno.min;
>n2 = {*}.atomno.max;
>for (i=n1; i<=n2; i++) {
>m = "s" + i;
>d = 2 * {atomno=i}.vanderwaals;
>// print d;
>draw id @m diameter @d {atomno=i};
>}
>spacefill off;
>
>Tested with file:
>REMARK   1 PQR 
>HETATM    1  X                -403.3  -445.3   -72.6    0.00 20.9
>HETATM    2  X                 429.2   285.4  -132.2    0.00 11.6
>HETATM    3  X                -304.5  -270.2   351.6    0.00 49.0
>HETATM    4  X                 292.5  -208.9   -35.7    0.00 20.5
>HETATM    5  X                -175.3     4.3  -103.2    0.00 54.1
>

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to