Templates

When you click the Templates button Image in the Structure Editor window, the Template dialog window appears. Mass Frontier comes with more then 200 predefined templates. To insert a template structure into Structure Editor:

  1. Select a group of templates in the directory list box. You can do this using the arrow keys on the keyboard or clicking the appropriate name of the group.
  2. Click any atom or bond, depending on whether you want to attach the template to an atom or a bond of a structure in Structure Editor.
  3. The Template dialog window will then disappear and you can place or attach the chosen template.
  4. Switch off the template button or restore the default state of the Editor.

Mass Frontier makes it easy for you to create your own group of templates or add a structure to an existing group. The templates are organized by directory. The template root directory is ..\Templates. Every group of templates is stored in a separate subdirectory of the template root directory. Subdirectories are named after compound groups (e.g. Steroids). The files within each subdirectory are named after actual structures using the extension *.tml (e.g. Cholesterol.tml). When you save a structure for template purposes select Template (*.tml) format in the Save as Type scroll box in the Save Structure dialog box.

To build your own templates, follow these steps:

  1. Draw a template structure.
  2. Click on the Save Structure Image button in the Structure Editor window or choose the File | Save | Structure menu item.
  3. Select Template (*.tml) format in the Files of type: combo box in the Save Structure dialog window.
  4. Create or select a subdirectory in the directory ..\HighChem\Mass Frontier4.0\Templates for your new template.
  5. Type name of your new template structure and click OK.