Re: [Jmol-users] model to variable question

2010-04-18 Thread Robert Hanson
If it is just a mol file, you can use within Jmol:

var jmolx = getProperty(extractModel)

or from JavaScript:

var jsx = jmolEvaluate(getProperty('extractModel'))

Is that what you are after?



On Sun, Apr 18, 2010 at 7:29 PM, Otis Rothenberger osrot...@chemagic.comwrote:

 Does anyone know if a the molfile of a loaded model can be put into a
 Jmol variable inside of a Jmol script. By this, I mean that I would like
 to leave JavaScript out of the molfile extraction. To be a bit more
 specific, I am loading a model from a files inside of a Jmol script.
 After loading that model, can I put its molfile into a Jmol variable?

 Otis

 --
 Otis Rothenberger
 chemagic.com





 --
 Download Intel#174; Parallel Studio Eval
 Try the new software tools for yourself. Speed compiling, find bugs
 proactively, and fine-tune applications for parallel performance.
 See why Intel Parallel Studio got high marks during beta.
 http://p.sf.net/sfu/intel-sw-dev
 ___
 Jmol-users mailing list
 Jmol-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/jmol-users




-- 
Robert M. Hanson
Professor of Chemistry
St. Olaf College
1520 St. Olaf Ave.
Northfield, MN 55057
http://www.stolaf.edu/people/hansonr
phone: 507-786-3107


If nature does not answer first what we want,
it is better to take what answer we get.

-- Josiah Willard Gibbs, Lecture XXX, Monday, February 5, 1900
--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev___
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users


Re: [Jmol-users] model to variable question

2010-04-18 Thread Otis Rothenberger
Bob,

Thanks. This is the one I wanted:

On 4/18/2010 10:09 PM, Robert Hanson wrote:
 If it is just a mol file, you can use within Jmol:

 var jmolx = getProperty(extractModel)


Otis

-- 
Otis Rothenberger
chemagic.com




--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users