Hi,

I'm trying to work out how the scripting environment works.

I'm using v1.03

I can see from the wiki how to iterate over atoms and bonds in the molecule
but how do I access the painter device? Suppose I would like to change the
colour of a particular atom or bond, how can I do this or is this not
possible from the python Terminal?

Also I think some of the wiki might be out of date? Here: (
http://avogadro.openmolecules.net/wiki/Category:Scripting)  it says we can
access atomic positions via:

molecule.atomPos(0)

But when I try Avogadro.molecule.atomPos(0)from the terminal I get an
attribute error. By contrast Avogadro.molecule.atoms[0].pos works

Cheers

Clyde
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
_______________________________________________
Avogadro-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/avogadro-devel

Reply via email to