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
> > Jmol-users@lists.sourceforge.net
> >  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
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to