Hi Bob, Documentation for set backgroundmodel needs to be corrected, it currently specifies (integer >= 1)

I *knew* there was  a reason I had not tried file.model notation!  :^)
 - should have tried it anyway!!

On May 14, 2007, at May 14, 5:52 PM, Bob Hanson wrote:

Ah, Frieda, you MUST use file.model notation with multiple files
anywhere you would like to say "model n". Especially with PDB files,
"set backgroundModel 1" would be too ambiguous.
For example:

load files "=1crn.pdb" "=1blu.pdb" "=1hje.pdb"
animation mode palindrome
animation fps 1
set backgroundmodel 1.1
frame range 1.1 3.1
frame play

So I think it's just that one command.

Bob



Frieda Reichsman wrote:

I'm looking for some scripting help. Using Jmol 11.1.38_dev,
I am attempting an animation with four files. Each has one model. FIle
1 has an isosurface. Bob just wrote a nice post the other day re:
frames and multiple files, but I am stuck nonetheless.

I need to make file 1 stay visible throughout the animation, but
set backgroundModel 1
has no effect.

This is my script:

file 0
display all
animation mode PALINDROME 2.0 2.0
animation fps 1
set backgroundModel 1
frame RANGE 1.1 4.1
frame PLAY


The result is that all the frames are looped through, and file 1
(frame 1) does not remain visible throughout. Changing from
frame RANGE 1.1 4.1
to
frame RANGE 2.1 4.1
just makes it so that frame 1 (file 1) never appears.

Maybe it has something to do with this:
Bob wrote:

frame range 3.0 #all models in file 3

[there is a bug in 11.1.38 in this regard when the file only contains
one model that I just fixed for 11.2]


which caught my eye since I do only have one model in each file. But I
am not following what the bug is.

Also, once the animation is stopped, my buttons that allow the user to
add a file to the current view are broken. If I say
display displayed or file =3
file 3 does not appear.

If I say
file 0; display displayed or file =3
all the files appear.

Frieda


///////////////////////////////////////////


Frieda Reichsman

Molecules in Motion

Interactive Molecular Structures

http://www.moleculesinmotion.com


///////////////////////////////////////////



--------------------------------------------------------------------- ---

--------------------------------------------------------------------- ----
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/

--------------------------------------------------------------------- ---

_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users




---------------------------------------------------------------------- ---
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

///////////////////////////////////////////

Frieda Reichsman
Molecules in Motion
Interactive Molecular Structures
http://www.moleculesinmotion.com

///////////////////////////////////////////


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to