On 2005-01-30 (17:03) Nicolas Vervelle wrote:

>Hi,
>
>among the files for the Jmol-fah web page
>http://jmol.sourceforge.net/fah , I have several files where the
>protein is surrounded by a "solvant" (for example, button 212).
>
>I would like it to be automatically hidden when the user click on
>it, maybe by adding a command in the loading script. I don't know
>how to do it and if it is possible with the current version.
>
>In the example, the molecule is : H2-N-C-N-H2
>|
>O
>
>but there are probably other molecules in the other files.
>
>If it is not possible with the current version, I can add the
>feature if someone can give me a few guidelines :)
>

in a pdb formatted file, one could use

restrict not solvent

or even 

restrict protein


your example button 212 is an xyz file, though, without any group designations. 
 so I can't think of any way to accomplish what you want easily.  but my 
suggestions are:

1. select by element if possible;

2. create a predefined set;

3. alter the coordinate file to include group designations.


hth,

tim
-- 
Timothy Driscoll
molvisions - see, grasp, learn.
<http://www.molvisions.com/>
usa:north carolina:wake forest

"I still say a church steeple with a lightning rod on top shows a lack of 
confidence." - Doug MacLeod


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Jmol-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-developers

Reply via email to