chemcoord.Cartesian.view

Cartesian.view(viewer=None, use_curr_dir=False)

View your molecule.

Note

This function writes a temporary file and opens it with an external viewer. If you modify your molecule afterwards you have to recall view in order to see the changes.

Parameters:
  • viewer (str) – The external viewer to use. If it is None, the default as specified in cc.settings[‘defaults’][‘viewer’] is used.
  • use_curr_dir (bool) – If True, the temporary file is written to the current diretory. Otherwise it gets written to the OS dependendent temporary directory.
Returns:

Return type:

None