VMD-L Mailing List
From: Justin Gullingsrud (justin_at_ks.uiuc.edu)
Date: Tue Mar 26 2002 - 10:15:03 CST
- Next message: Troy Wymore: "Resolution of movie?"
- Previous message: Don Havelberg: "python create graphics molecule"
- In reply to: Don Havelberg: "python create graphics molecule"
- Next in thread: Don Havelberg: "Re: python create graphics molecule"
- Reply: Don Havelberg: "Re: python create graphics molecule"
- Reply: Don Havelberg: "Re: python create graphics molecule"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Hi,
To create a graphics molecule, you 'load' a molecule of type 'graphics':
molecule.load('graphics','chicken')
After executing this command, the id of the new molecule will be that of the
top molecule, which can be obtained from molecule.top().
Justin
On Wed, Mar 27, 2002 at 12:10:25AM +1100, Don Havelberg wrote:
> To use the python graphics module you first need a id. The manual says to get
> an id, to use the load command from the molecule modeule. But what if you dont
> have one yet. Seems to me a bit like the chicken and the egg. But I dont really
> understand python. Can I make an instance of a molecule?
>
-- Justin Gullingsrud 3111 Beckman Institute H: (217) 384-4220 I got a million ideas that I ain't even rocked yet... W: (217) 244-8946 -- Mike D
- Next message: Troy Wymore: "Resolution of movie?"
- Previous message: Don Havelberg: "python create graphics molecule"
- In reply to: Don Havelberg: "python create graphics molecule"
- Next in thread: Don Havelberg: "Re: python create graphics molecule"
- Reply: Don Havelberg: "Re: python create graphics molecule"
- Reply: Don Havelberg: "Re: python create graphics molecule"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]