Nathaniel Echols wrote:
> Is this even possible? Either Python or Scheme would be okay. I
> figured out how to hide everything (in Python), but I'm trying to reload
> files via a button, and they always have the same name, so the display
> manager becomes confusing quickly.
>
side-stepping your question, how about:
clear_and_update_model_molecule_from_file(molecule_number, file_name)
Anyway, to close everything, iteratate the function
close_molecule(molecule_number) over the numbers in the list returned by
molecule_number_list().
HTH,
Paul.
|