vmd.molecule.new

vmd.molecule.new()

Create a new molecule, with optional number of ‘empty’ atoms

Parameters:
  • name (str) – Name of new molecule
  • natoms (int) – Number of empty atoms in new molecule, optional.
Returns:

(int) – Molecule ID of created molecule