Hi Tim,

Thanks for your help.  Show orientation works fine on the console window.
However, if I want to query the orientation and save the output in some
variable for later use, how would I do that?  I am trying to make an easy
point and click interface for the user..


Sam  

Samuel Flores
Graduate Student
Gerstein Lab 
 
Office:
Bass 437
266 Whitney Avenue
New Haven, CT 06520 
203.432.5405
 
Home: 
28 Pearl Street
New Haven, CT 06511
cell: 203.747.2682 

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Timothy
Driscoll
Sent: Monday, May 22, 2006 10:50 PM
To: [email protected]
Subject: Re: [Jmol-users] save orientation?

On May 22, 2006, at 10:23 p, Samuel Flores wrote:

> Hi Guys,
>
> I'm trying to write some code to let the viewer rotate the molecule  
> to their
> liking, then have a high resolution image made based on that  
> orientation.  B
> I wonder if there is some way to track and output the on-screen  
> orientation.
> Once I know what rotations were applied in jmol, I can re-apply the  
> same
> rotations in pymol to make my high-res image.  Is it possible to  
> track the
> angular orientation in this way?
>
hi Sam,

you can accomplish this with

show orientation

and messagecallback (or something similar from Bob's arsenal).  the  
command gives a well-formed string that is easily parsable.

hth,

tim
-- 
Timothy Driscoll                                em: [EMAIL PROTECTED]
Virginia Bioinformatics Institute               ph: 540-231-3007
Bioinformatics I                                im: molvisions
Washington St., Blacksburg, VA 24061

"Pain heals. Chicks dig scars. Glory lasts forever."





-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job
easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users




-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to