Hi Angel,

Thanks for that. I got it going.

Greg E



On 9 August 2013 20:00, Angel Herráez <angel.herr...@uah.es> wrote:

> **
> Hello
>
>  Yes, it can be done. Use Jmol's own variable for the frame number, that
> will update automatically as the animation runs:
>
>  _modelNumber
>
>  See
> http://chemapps.stolaf.edu/jmol/docs/#jmolmathread-onlyvariables
>
>  So you just do:
>
>  set echo top;
> echo @_modelNumber;
> // or
> echo @_currentModelNumberInFile;
>
>
>  > Can I do something like ..
> >   frameNumber += 1
> >   echo @frameNumber
>
>  One issue there is how you would update your variable whith animation.
> Apart from that, it works for me:
> frameNumber = 4;
> echo @frameNumber;
>
>  // displays a "4"
>
>
>
>
> ------------------------------------------------------------------------------
> Get 100% visibility into Java/.NET code with AppDynamics Lite!
> It's a free troubleshooting tool designed for production.
> Get down to code-level detail for bottlenecks, with <2% overhead.
> Download for free and get started troubleshooting in minutes.
> http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
> _______________________________________________
> Jmol-users mailing list
> Jmol-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jmol-users
>
>


-- 
Greg Edwards,
Port Jackson Bioinformatics
gedwar...@gmail.com
------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to