vmd.molrep.modrep

vmd.molrep.modrep()

Modify properties of a representation. Any number of optional arguments may be specified.

Parameters:
  • molid (int) – Molecule ID with representation
  • rep (int) – Representation index to modify
  • style (str) – Representation style (like ‘NewCartoon’), optional
  • color (str) – Coloring method (like ‘ColorID 1’ or ‘Type’), optional
  • selection (str) – Atoms to apply representation to, optional
  • material (str) – Material for represenation (like ‘Opaque’)
  • scaleminmax (2-tuple or list of float) – (min, max) values for color scale
Returns:

(bool) – If modification(s) were successful