Bob Hanson wrote:
>OK, I couldn't resist...
>
>hide (atom expression)
>
>joins "restrict" but does it much more nicely -- without messing with 
>bond/atom/cartoon size parameters. Instead of setting the size to 0 to 
>make it disappear, "hide" just sets a flag that says "don't display it" 
>-- so it is 100% reversible, and you can "hide none" to have it all come 
>back the way it was.
>
>It's an atom-based setting, so group-based objects such as cartoons and 
>such are hidden iff their "lead atom" is hidden.
>
>I remember suggesting this quite a while back, but I forgot to make my 
>own feature request. Just a little use myself and I am convinced I will 
>never use "restrict" again!
>
>  
This will really be useful for our Jmol interface at the FLI, thanks!
I wanted to try it but it seems not present in the zip file available at
"http://www.stolaf.edu/academics/chemapps/jmol/docs/examples-11/"; yet.

Q: How do I unhide only the selected part?

While trying version 10.9.74 I noticed that the "frame all" command
seems to be broken if there are really several frames present in a PDB
file. I get the following error message from the applet before it
freezes totally:

java.lang.ArrayIndexOutOfBoundsException: -1
    at org.jmol.viewer.Mmset.getGroupCountInModel(Mmset.java:315)
    at org.jmol.viewer.Frame.getGroupCountInModel(Frame.java:909)
    at
org.jmol.viewer.ModelManager.getGroupCountInModel(ModelManager.java:297)
    at org.jmol.viewer.Viewer.getGroupCountInModel(Viewer.java:1491)
    at org.jmol.popup.JmolPopup.updateModelSetInfoMenu(JmolPopup.java:266)
    at org.jmol.popup.JmolPopup.updateComputedMenus(JmolPopup.java:115)
    at
org.jmol.applet.Jmol$MyStatusListener.notifyFrameChanged(Jmol.java:759)
    at
org.jmol.viewer.StatusManager.setStatusFrameChanged(StatusManager.java:155)
    at org.jmol.viewer.Viewer.setStatusFrameChanged(Viewer.java:2586)
    at
org.jmol.viewer.RepaintManager.setDisplayModelIndex(RepaintManager.java:57)
    at org.jmol.viewer.Viewer.setDisplayModelIndex(Viewer.java:1970)
    at org.jmol.viewer.Eval.frame(Eval.java:3631)
    at org.jmol.viewer.Eval.instructionDispatchLoop(Eval.java:580)
    at org.jmol.viewer.Eval.script(Eval.java:2849)
    at org.jmol.viewer.Eval.instructionDispatchLoop(Eval.java:471)
    at org.jmol.viewer.Eval.runEval(Eval.java:104)
    at org.jmol.viewer.Viewer.evalStringWaitStatus(Viewer.java:2267)
    at org.jmol.viewer.ScriptManager.runScript(ScriptManager.java:130)
    at org.jmol.viewer.ScriptManager.runNextScript(ScriptManager.java:119)
    at
org.jmol.viewer.ScriptManager$ScriptQueueRunnable.run(ScriptManager.java:146)
    at java.lang.Thread.run(Thread.java:534)

Regards,
Rolf

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Jmol-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-developers

Reply via email to