On 08/13/2014 04:37 PM, Michael Marden wrote:
> Is it possible LOAD a structure from a STRING ?
> I am using Visual Basic (VB) with a WebBrowser to allow Jmol to present
> the molecule.
> Bob Hanson helped me set up a nice system for 2-way communication VB <->
> Jmol
> Java security is now making it difficult to load files from my local
> hard drive.
>
> I could Load the pdb files via VB code and convert that to a string
> variable A$.
> That would require a Jmol command of the type LoadFromString A$
> Is this currently available ? if not, is it a reasonable request ?
>
> In fact I could imagine a calculated structure:  rather than saving it
> to disk, it could be sent directly to Jmol.
>
The 'load' command has several options for this (see the scripting 
documentation at 
"http://jena3d.fli-leibniz.de/doc/jmol_scripting/index.htm?ver=14.2#load";):
   1) load DATA
   2) load INLINE
   3) Load @jmol_variable

I don't have tried any of them yet. So I can't share any experiences.

Regards,
Rolf

-- 

Rolf Huehne
Postdoc

Leibniz Institute for Age Research - Fritz Lipmann Institute (FLI)
Beutenbergstrasse 11
07745 Jena, Germany

Phone:   +49 3641 65 6205
Fax:     +49 3641 65 6210
E-Mail:  [email protected]
Website: http://www.fli-leibniz.de

           Scientific Director: Prof. Dr. K. Lenhard Rudolph
        Head of Administration: Dr. Daniele Barthel
Chairman of Board of Trustees: Dennys Klein

VAT No: DE 153 925 464
Register of Associations: No. 230296, Amtsgericht Jena
Tax Number: 162/141/08228


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

Reply via email to