Oooooh, yes obviuosly "display displayed, 1.1" and "hide hidden, 1.1" does
exactly what I wanted... I have a tendency to always think about the most
difficult solution, so sorry for the silly question and thanks a lot for the
fast and useful responses!
Daniel

El 27 de julio de 2011 12:11, Angel Herráez <[email protected]> escribió:

> Hello, Daniel
>
> First of all, Jmol has "save state" and "restore state" which will most
> likely do what you need.
> Check the documentation for details.
>
> Second, your description of the problem makes me think that the result you
> see depends on
> what your page controls are doing to **hide** the protein.
> Best --and easier than the former-- is to use the "display" and "hide"
> commands, and not
> maybe "restrict" or "cartoon off". The former are easily reversible.
> So if your checkbox executes "display displayed,protein" or even "display
> all", and "hide
> hidden,protein"  or even "hide all", the state is preserved.
> Otherwise, add "save state" and "restore state" commands to your actions
> and the state will
> be kept and retrieved from memory.
>
> Good luck and let us know the outcome.
>
>
>
> ------------------------------------------------------------------------------
> Got Input?   Slashdot Needs You.
> Take our quick survey online.  Come on, we don't ask for help often.
> Plus, you'll get a chance to win $100 to spend on ThinkGeek.
> http://p.sf.net/sfu/slashdot-survey
> _______________________________________________
> Jmol-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/jmol-users
>
------------------------------------------------------------------------------
Got Input?   Slashdot Needs You.
Take our quick survey online.  Come on, we don't ask for help often.
Plus, you'll get a chance to win $100 to spend on ThinkGeek.
http://p.sf.net/sfu/slashdot-survey
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to