On Tue, 23 Mar 2010, Angel Herr?ez wrote:

Try to assign a name/ID to each draw object:

draw ob1 diameter 0.2 {atomno=586} {atomno=266} color cyan;
draw ob2 diameter 0.2 {atomno=596} {atomno=276} color cyan;

(the ob1 and ob2 may be any names as long as they are not commands)

Okay!  That did the trick!

I'm passing in the commands via the JmolViewer.script() or
JmolViewer.evalString() methods -- they both seem to produce the same
errors.

I cannot help with that. Have you tried the script console?
Must be somethink specific to those methods.

Hmm, I just tried that, and when I run the same command with the script console, I don't get the errors. I guess I'll check what the script console code is doing.

Thanks for the help!

Kent
------------------------------------------------------------------------------
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

Reply via email to