They are all already connected; that's not the problem. The problem is with:

"cpk 0; wireframe 0; select none; select symop="+whichSymmetry()+"; cpk 15%; 
wireframe 0.10;"

You are turning on and off atoms using cpk and wireframe instead of just 
display. What you want is something like:


"display none; select symop="+whichSymmetry()+"; display selected;"

or maybe

"display none; select selected or symop="+whichSymmetry()+"; display selected;"

I'm not sure. But the point is that you are setting "cpk 0; wireframe 0" and 
then not setting it back on.

Maybe all you need is:

"cpk 0; wireframe 0; select radius > 0 or symop="+whichSymmetry()+"; cpk 15%; 
wireframe 0.10;"


"radius > 0" selects for atoms for which you have not turned off using cpk 0. 

Bob




P.J. Carroll wrote:

>       I need some scripting help (Again!) I've been writing pages 
>to draw unit cell packing diagrams. Sometimes an added symop should 
>be bonded to an already-displayed one. For example, in
>
>               http://macxray.chem.upenn.edu/gam/9129b.html
>
>if you add symmetry operation -x, -y, -z with a translation of +1, 
>+1, +1, the new fragment should be bonded to the first fragment. I 
>assume I need to use the "connect" command, but I'm not clear on how.
>
>
>Pat Carroll
>U Penn X-ray Facility
>Phila, PA
>
>-------------------------------------------------------------------------
>This SF.net email is sponsored by DB2 Express
>Download DB2 Express C - the FREE version of DB2 express and take
>control of your XML. No limits. Just data. Click to get it now.
>http://sourceforge.net/powerbar/db2/
>_______________________________________________
>Jmol-users mailing list
>[email protected]
>https://lists.sourceforge.net/lists/listinfo/jmol-users
>  
>


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to