ah -- I see that's in Jmol 11.9.... In Jmol 11.8 it is a bit different. Use
OPAQUE or TRANSLUCENT instead of COLOR and the deal is that if you just say:

connect {atomno=442} {atomno=129} opaque cyan

then that bond already has to be there. (MODIFY assumed)

but if you are making a new bond, you need:

connect {atomno=442} {atomno=129} opaque cyan CREATE

and probably then will also want to set the radius as well:

connect {atomno=442} {atomno=129} opaque cyan radius 0.15 CREATE


Bob


2010/3/18 Angel Herráez <angel.herr...@uah.es>

> > Thanks much!
>
> Good!
>
> I forgot this: if you want to control later the connection visibility,
> color, etc., it's better to give it
> a name when created:
>
> draw myConnectionA diameter 0.2 {atomno=442} {atomno=410} color cyan;
>
> then
>
>        draw myConnectionA off;
>        draw myConnectionA on;
>        color $myConnectionA  green;
> etc.
> Also,
>        draw list
> displays a list of all drawn objects with their names/IDs and properties
>
>
>
>
> ------------------------------------------------------------------------------
> Download Intel&#174; Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________
> Jmol-developers mailing list
> Jmol-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jmol-developers
>



-- 
Robert M. Hanson
Professor of Chemistry
St. Olaf College
1520 St. Olaf Ave.
Northfield, MN 55057
http://www.stolaf.edu/people/hansonr
phone: 507-786-3107


If nature does not answer first what we want,
it is better to take what answer we get.

-- Josiah Willard Gibbs, Lecture XXX, Monday, February 5, 1900
------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Jmol-developers mailing list
Jmol-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-developers

Reply via email to