vmd.molrep.get_selection

vmd.molrep.get_selection()

Get the atom selection associated with a representation

Parameters:
  • molid (int) – Molecule ID with representation
  • rep (int) – Representation index to query
Returns:

(str) – Atom selection