vmd.atomsel.molid

atomsel.molid

The molecule ID the selection is associated with