Just don't put parentheses around your color option:
connect (atomno=442) (atomno=410) color green
connect (atomno=586) (atomno=266) color green
On Thu, Mar 18, 2010 at 1:02 PM, R. Kent Wenger <wen...@cs.wisc.edu> wrote:
> On Thu, 18 Mar 2010, Jonathan Gutow wrote:
>
> >
> > On Mar 18, 2010, at 12:35 PM, R. Kent Wenger wrote:
> >
> >> On Thu, 18 Mar 2010, Jonathan Gutow wrote:
> >>
> >>> Since you've selected your bonds in the connect command just follow
> >>> that line with
> >>>
> >>> color bond blue
> >>>
> >>> You can insert your favorite color:)
> >>
> >> So you're saying that the color part is an entirely separate command?
> > Yep. Probably best for you to spend a little time looking at the
> > scripting documentation:
> > http://chemapps.stolaf.edu/jmol/docs/
>
> Hmm. If I do this:
>
> connect (atomno=442) (atomno=410); connect (atomno=586) (atomno=266);
> color bond green;
>
> I end up with all of the bonds colored green, not just the ones I added.
> If I make the whole thing one command, I get an error.
>
> The documentation makes it look to me like you should be able to have a
> color option as part of the connect command, but I haven't been able to
> come up with any syntax that makes that work.
>
> I've looked at the documentation, but I'm still having a hard time
> understanding some of it. More examples would help, at least for me...
>
> Kent
> --
> R. Kent Wenger (wen...@cs.wisc.edu, 608-262-6627,
> http://www.cs.wisc.edu/~wenger/ <http://www.cs.wisc.edu/%7Ewenger/>)
> Computer Sciences Department
> University of Wisconsin-Madison
>
>
> ------------------------------------------------------------------------------
> Download Intel® 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® 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