OK, I see what it is. This is definitely tricky! In any situation such as the following:
> ------file 1---|---- file 2---------------------- > 1crn test1 test2 > > model 1.1 | model 2.1 model 2.2 > > model 1 | ---------model 2-------------- > When you issue "model 2" or "frame 2" or "model 2.0" or "frame 2.0" you are telling Jmol that you want to see JUST the models in the second file. You see all of them, and in doing so you also set the frame range to be "just this file". In this way we can run animations separately for multiply loaded files. What I noticed is that "frame previous" didn't work just after "model 2.0". That's because I was seeing the whole range, both models 2.1 and 2.2, and there isn't any "previous frame" in that situation. However, if I use frame 2 frame 2.1 then frame next works to give me model 2.2. If I want to see all the frames as one large animation set, then I issue frame range 0 to indicate that the range should be reset to "all models in the full collection". To run an animation just within file 2, you simply use: frame range 2 Or, if you want to mix and match, animating just the first two models, you can use: frame range 1.1 2.1 Then only the first two models will be "in range" and model 2.2 will not be part of the animation. Bob On 3/20/07, Bob Hanson <[EMAIL PROTECTED]> wrote: > This is now fixed -- 11.1.25 will have it. One aspect of it may be > unintuitive -- if you use: > > load =1crn > > data "append" > 2 > test1 > C 0 0 0 > O 1 1 1 > 2 > test2 > N 2 0 0 > O 2 1 1 > end "append"; > > You will end up with three models, but they will be organized as follows: > > > ------file 1---|---- file 2---------------------- > 1crn test1 test2 > > model 1.1 | model 2.1 model 2.2 > > model 1 | ---------model 2-------------- > > That is, in a multi-model, multifile environment, be careful how you > use the "model" command. "model 2" will give you BOTH model 2.1 and > model 2.2, since "2" is "2.0" > and that means "all models in file 2". > > I notice that "frame next" does not work as one might expect after > this. I'll look into that. > > Bob > > > > > > > > > On 3/20/07, Bob Hanson <[EMAIL PROTECTED]> wrote: > > Certainly this works with the load command. I'll get that fixed. Yes, you > > are supposed to be able to append multiple models. However, if you do, they > > cannot go into the current frame; they must each take their own new frame. > > (That is, the setting of "appendNew" is ignored when more than one model is > > appended, and it is as though you have set appendNew=true.) > > > > > > > > > > > > On 3/18/07, Dean Johnston <[EMAIL PROTECTED]> wrote: > > > > Similarly, > > > > > > > > data "append xxxx".....end "append xxxx"; > > > > > > > > will insert an inline model into either a new frame or the current > > > > frame, as per the setting of appendNew. > > > Is it possible to insert more than one new model using data "append > > > xxxx"? > > > When I try I get the following: > > > > > > Exception in thread "Thread-203" > > > java.lang.ArrayIndexOutOfBoundsException: 1 > > > at org.jmol.viewer.Mmset.setModelNameNumberProperties(Mmset.java:269) > > > at org.jmol.viewer.Frame.initializeModel(Frame.java:263) > > > at org.jmol.viewer.Frame.<init>(Frame.java:143) > > > at org.jmol.viewer.ModelManager.merge (ModelManager.java:80) > > > at org.jmol.viewer.Viewer.getOpenFileError(Viewer.java:1468) > > > at org.jmol.viewer.Viewer.openStringInline(Viewer.java:1337) > > > at org.jmol.viewer.Viewer.loadInline(Viewer.java:1396) > > > ... > > > > > > Dean > > > > > > > > > > > > ------------------------------------------------------------------------- > > > Take Surveys. Earn Cash. Influence the Future of IT > > > Join SourceForge.net's Techsay panel and you'll get the chance to share > > > your > > > opinions on IT & business topics through brief surveys-and earn cash > > > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > > _______________________________________________ > > > Jmol-users mailing list > > > [email protected] > > > https://lists.sourceforge.net/lists/listinfo/jmol-users > > > > > > > > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Jmol-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jmol-users

