Wayne,

Ah, right, good point. I should put something in the documentation about
those. Please don't mess with the stuff after the # sign that Jmol puts in
the state definitions. These are special flags that Jmol needs to correctly
reproduce the state. You are right that the first atom bitset overrides the
current selection (or any SELECT given in that command). The second
overrides the IGNORE set, and the MODEL set overrides the MODEL keyword.

This sort of flagging is only done in the scripts produced by Jmol using
commands such as

 show state
 write state
 getProperty stateInfo

They aren't documented because they are "for internal use only".

Bob




On Tue, Oct 21, 2008 at 11:14 PM, Wayne Decatur <[EMAIL PROTECTED]> wrote:

> Hi,
> I was trying to learn about isosurfaces and ran into something baffling
> concerning the pound sign in Jmol since I always thought everything after it
> was not used.
>
> If I access the Jmol console for any jmol window and enter the following
> line of commands:
>
> isosurface resolution 0 molecular translucent;# ({1:1000}) ({null})#
> MODEL({0});
>
> then jmol uses the stuff after the pound sign 1 through 1000 to make a
> surface, with what appears is atoms 1 through 1000.
>
> However, the page in jmol interactive script documentation about the
> comment indicator the pound sign (at
> http://chemapps.stolaf.edu/jmol/docs/?search=%23&ver=11.8&#comment)
> clearly states Jmol should ignore everything after the pound sign. Here is
> the pertinent text: "*Anything following '#' up until the end of a
> statement is ignored by Jmol with the following two exceptions. (A statement
> is terminated by a semicolon ";" or a newline.) *"
> The exceptions are #js or #jc which aren't used in the isosurface command
> that I was looking at.*
> *
> And it is not simply skipping the information in between the two pound
> signs because with the ethene example (at http://tinyurl.com/5hgluk)
> entering the line"isosurface resolution 0 molecular translucent; MODEL({0});
> " gives a different result for surface than with original command and also
> throws an error in the yellow box below.
>
>
> I also see nothing in the isosurfae documentation about pound signs. Is the
> script documentation for the pound sign and isosurfaces lacking this
> information that explainins what this command is doing or am I missing
> something simple?
>
> Thanks,
> Wayne*
>
> *
>
>
>
>
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Jmol-users mailing list
> Jmol-users@lists.sourceforge.net
> 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
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to