yes, it loads the model again. It has to. But you might be able to get away
with resetting just about everything and running your script. Or another
thing you could do is get the state:
Var x = script("show state")
and then comment out the LOAD command and run it later. Hard to say if that
would always work. Later...
script inline @{x.replace("load ", "#load ")}
But I think that will not work, because as you say, if they have changed
things, those changes will likely not get unchanged by that. It's the
loading that undoes the changes.
Bob
2011/5/11 Angel Herráez <[email protected]>
> Hi all
>
> I am using for the first time "save state" and "restore state". Sounds
> great!
> But restore takes quite a time, seemingly it loads the model again. Is that
> so?
> Would there be a way to restore the state without reloading the file?
>
> I am seeing that re-running the initial script (which I have in a variable)
> is much faster. Of
> course, that's not so safe since many things may have been done by the user
> in between.
>
> This is with a short DNA molecule in my hard disk, unsigned applet 12.0.42.
>
>
>
>
>
>
>
> ------------------------------------------------------------------------------
> Achieve unprecedented app performance and reliability
> What every C/C++ and Fortran developer should know.
> Learn how Intel has extended the reach of its next-generation tools
> to help boost performance applications - inlcuding clusters.
> http://p.sf.net/sfu/intel-dev2devmay
> _______________________________________________
> Jmol-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/jmol-users
>
--
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
------------------------------------------------------------------------------
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users