Next: molecule
Up: Controlling VMD from Python
Previous: label
  Contents
  Index
Python operations available from the material module, used to
create and modify material properties of molecular representations.
- listall():
Returns a Python list of the names of all available materials.
- settings(name):
Returns a Python dictionary of the material settings for material with
the given name.
- add(name):
Create a new material with the given name.
- rename(oldname, newname):
Rename the material with the given name. The new name must not yet
be used.
- change(name, ambient, specular, diffuse, shininess, opacity):
Change one or more of the material settings for the material with the
given name. Keyword arguments may be used to specify each property.
vmd@ks.uiuc.edu