Is there a reason you are not just generating a multiframe file of one  
of the formats Jmol reads.  Then you can just use the standard Jmol  
load calls and not have to worry about inline strings.  Are you trying  
to do the generation in javascript on the user's machine?

Jonathan
On Nov 1, 2009, at 11:55 AM, Joe Gatewood wrote:

> I have been looking at the best way to get large structures loaded  
> into a
> Jmol application.  I could use some clarification if anyone is  
> online today.
>
> When I have a pdb structure file with NUMMDL > 1 do I need to (can  
> I) break
> up the file and put each MODEL into a different array element and use
> loadInline(String[] arrayModels) or is this overload restricted to  
> complete
> structure files in each element?
>
> The reason for my question is I am having trouble going from a  
> String array
> to StringBuilder to String to loadInline(String strModel) for the  
> NUMMDL > 1
> data.  Arrays with a single structure get converted to strings and  
> loaded
> OK.  I do not get stack overflows, Jmol just fails to render and  
> does not
> report an error.
>
> Thanks,
> Joe
>
>
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry(R) Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart  
> your
> developing skills, take BlackBerry mobile applications to market and  
> stay
> ahead of the curve. Join us from November 9 - 12, 2009. Register now!
> http://p.sf.net/sfu/devconference
> _______________________________________________
> Jmol-developers mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/jmol-developers

                          Dr. Jonathan H. Gutow
Chemistry Department                                 [email protected]
UW-Oshkosh                                           Office:920-424-1326
800 Algoma Boulevard                                 FAX:920-424-2042
Oshkosh, WI 54901
                  http://www.uwosh.edu/facstaff/gutow






------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Jmol-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-developers

Reply via email to