JSmol.min.js
___JmolDate="$Date: 2014-02-14 13:28:43 -0600 (Fri, 14 Feb 2014)
$";___fullJmolProperties="src/org/jmol/viewer/Jmol.properties";___JmolVersion="14.0.8";
Issue: zap does not seem to stop the rotation of a molecule that has been
zapped.
Here's what I do and see:
My app load a large molecule (several seconds to load) with _script. At the
end of my script I change the molecule's orientation.
zap; load <large molecule>; rotate <to a new position>;
After the large molecule loads and is still rotating, I change my mind and
decide to have my app load a small molecule. At the end of this second script
I change the smaller molecule's orientation.
zap: load <small molecule>; rotate <to a new position>;
Here's what I see:
The small molecule replaces the large molecule, but jumps around as it
is rotating when using _script. Something that doesn't happen when I use
_scriptWait.
I see the msg, "Jmol script terminated", in the script callback before
the large molecule completes its rotation.
Question:
Should I be using an additional script command to stop the rotation
before zap when I load another molecule?
Should I be waiting for some callback to tell me that the rotation is
complete?
Thanks,
--Chuck
------------------------------------------------------------------------------
Flow-based real-time traffic analytics software. Cisco certified tool.
Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer
Customize your own dashboards, set traffic alerts and generate reports.
Network behavioral analysis & security monitoring. All-in-one tool.
http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users