From: alok v. <alo...@gm...> - 2005-08-01 19:26:48
|
Hi I was wondering is there a way to get the angular orientation or other settings like bonds/cpk etc. from a partuicular applet (loading first image), and then pass it on so that when the next image uploads on the same applet using Jmolscript(), has the same settings. I am loading multiple xyz files on the same applet using jmolscript(). Basically I want the user to change the angle/orientation of first image and then when the next image loads, it should have same view angle. http://eon.cm.utexas.edu/~alokvaid/jmol/test9.php When you click on simulation button, different images start loading one after another. regards Alok Vaid Chemistry Dept. University Of Texas At Austin |
From: timothy d. <mol...@ma...> - 2005-08-01 19:33:39
|
On 2005-08-01 (14:25) alok vaid wrote: >Hi > >I was wondering is there a way to get the angular orientation or >other settings like bonds/cpk etc. from a partuicular applet >(loading first image), and then pass it on so that when the next >image uploads on the same applet using Jmolscript(), has the same >settings. I am loading multiple xyz files on the same applet using >jmolscript(). > >Basically I want the user to change the angle/orientation of first >image and then when the next image loads, it should have same view >angle. > <snip> try 'show orientation' and then parse the callback for the coordinates. th= is is pretty well documented in the application Help manual, under Rasmol/C= hime scripting (IIRC). hth, tim --=20 Timothy Driscoll molvisions - see, grasp, learn. <http://www.molvisions.com/> usa:north carolina:raleigh "I am tormented with an everlasting itch for things remote." - Herman Melvi= lle |
From: alok v. <alo...@gm...> - 2005-08-03 21:36:42
|
Thanks. I have implemented it and it works as desired. Alok On 8/1/05, timothy driscoll <mol...@ma...> wrote: > On 2005-08-01 (14:25) alok vaid wrote: >=20 > >Hi > > > >I was wondering is there a way to get the angular orientation or > >other settings like bonds/cpk etc. from a partuicular applet > >(loading first image), and then pass it on so that when the next > >image uploads on the same applet using Jmolscript(), has the same > >settings. I am loading multiple xyz files on the same applet using > >jmolscript(). > > > >Basically I want the user to change the angle/orientation of first > >image and then when the next image loads, it should have same view > >angle. > > > <snip> >=20 > try 'show orientation' and then parse the callback for the coordinates. = this is pretty well documented in the application Help manual, under Rasmol= /Chime scripting (IIRC). >=20 > hth, >=20 > tim > -- > Timothy Driscoll > molvisions - see, grasp, learn. > <http://www.molvisions.com/> > usa:north carolina:raleigh >=20 > "I am tormented with an everlasting itch for things remote." - Herman Mel= ville >=20 >=20 > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > from IBM. Find simple to follow Roadmaps, straightforward articles, > informative Webcasts and more! Get everything you need to get up to > speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id=16492&opclick > _______________________________________________ > Jmol-users mailing list > Jmo...@li... > https://lists.sourceforge.net/lists/listinfo/jmol-users > |
From: alok v. <alo...@gm...> - 2005-08-04 21:21:22
|
But inn addition to angle/orientation I would also want to have other information like color/bond/label/atom/spin information being passed from 1 image to second image when i load them using jmolscript in same applet. Is there way to get that information. regards Alok On 8/3/05, alok vaid <alo...@gm...> wrote: > Thanks. I have implemented it and it works as desired. >=20 > Alok >=20 > On 8/1/05, timothy driscoll <mol...@ma...> wrote: > > On 2005-08-01 (14:25) alok vaid wrote: > > > > >Hi > > > > > >I was wondering is there a way to get the angular orientation or > > >other settings like bonds/cpk etc. from a partuicular applet > > >(loading first image), and then pass it on so that when the next > > >image uploads on the same applet using Jmolscript(), has the same > > >settings. I am loading multiple xyz files on the same applet using > > >jmolscript(). > > > > > >Basically I want the user to change the angle/orientation of first > > >image and then when the next image loads, it should have same view > > >angle. > > > > > <snip> > > > > try 'show orientation' and then parse the callback for the coordinates.= this is pretty well documented in the application Help manual, under Rasm= ol/Chime scripting (IIRC). > > > > hth, > > > > tim > > -- > > Timothy Driscoll > > molvisions - see, grasp, learn. > > <http://www.molvisions.com/> > > usa:north carolina:raleigh > > > > "I am tormented with an everlasting itch for things remote." - Herman M= elville > > > > > > ------------------------------------------------------- > > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > > from IBM. Find simple to follow Roadmaps, straightforward articles, > > informative Webcasts and more! Get everything you need to get up to > > speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id=16492&opclick > > _______________________________________________ > > Jmol-users mailing list > > Jmo...@li... > > https://lists.sourceforge.net/lists/listinfo/jmol-users > > > |
From: Miguel <mi...@jm...> - 2005-08-04 21:34:12
|
> But inn addition to angle/orientation I would also want to have other > information like color/bond/label/atom/spin information being passed > from 1 image to second image when i load them using jmolscript in same > applet. > > Is there way to get that information. There currently is no API that allows you to access that type of data. If this is something that you want to talk about ... and something that you are willing to help work on, then we should spin up a separate discussion on jmol-developers=40lists.sf.net. Miguel |