From: Don Havelberg (don_at_jabbasoft.com.au)
Date: Tue Mar 26 2002 - 17:19:02 CST

Ooops that should have been

>>> from molecule import *
>>> load('graphics', 'test')
Info) Loading new molecule ...
Info) Opened sensor config file /usr/local/lib/vmd/.vmdsensors
open of failed

ERROR) Could not initialize file 'test' for input:
Info) Finished with coordinate file test.

Don

> 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