vmd.molrep.repindex

vmd.molrep.repindex()

Get the index of a representation from its name

Parameters:
  • molid (int) – Molecule ID with representation
  • name (str) – Representation name
Returns:

(int) – Representation index, or None if no such representation