Crystal Impact Home  
  About version 5 New functions Feature tour Download  

Diamond Version 5 User Manual: Distances and angles

Copying, saving, and printing distances and angles informations

This article in brief:
- Copying, saving, and printing or previewing the table of distances or angles.
- Application to tables of reported distances, angles, and torsion angles.
- Copying, saving, and printing or previewing distance informations in the properties pane.

Previous article: Extended geometric infos: Angles between planes etc.
Next article: Data sheet contents


Table of distances and angles

Copying the table of distances or angles

You can copy the selected rows of the table of distances and/or angles to the Windows clipboard. Each value in a row is separated by a tab from its neighbour, so that you can directly import the copy into a spreadsheet, for example. For that it is recommended that the first atom symbol is repeated in each row. (The default setting displays the atom symbol in the first column only once.) Choose the Repeat first symbol command from the context menu of the table of distances and/or angles. To copy the selected rows, choose the Copy Table command from the context menu, or push the Copy toolbar icon button in the standard toolbar, or use the "hotkey" Ctrl+C. To copy the entire table, choose the Copy All command instead. Please assure that the table of distances and/or angles has the input focus. Otherwise the structure graphics would be copied instead, if you use the button or the hotkey.

Saving the table

You can save the entire contents of the table in various text formats:

Text with separators

*.CSV

The contents of the columns of one row are separated by semicolons. Rows are separated by line feeds.

Text with tabs

*.TXT

The contents of the columns of one row are separated by tabs. Rows are separated by line feeds.

Formatted text with spaces

*.PRN

Each column has a fixed number of characters (filled with blanks if necessary). Rows are separated by line feeds.

HTML *.HTM Creates an HTML file where the table is formatted with the "<table>" token, and every row enclosed with "<tr> ... </tr>" and every cell (item) of a row with "<td> ... </td>"

At least one of the mentioned formats can be imported from the common spreadsheet applications (MS Excel uses all four formats, for example.) To save the table contents, choose the Save Table command from the context menu, which will open the Save File As dialog. Select the file type, the file name, and then choose OK.

Exporting the table

Alternatively you can save ("export") the table of distances or angles to a special target folder via the Export command from the File menu.

Printing and print preview

You can print the entire list or selected pages or the marked rows only. Choose the Print Table command from the context menu of the table, which opens the Print dialog, where you can choose the print range (all; some pages; selection), or adjust printer settings. To estimate the extent of the table when printed (especially the number of pages), you may switch to print preview mode by choosing the Print Preview command from the File menu or pushing the Print Preview toolbar icon button in the standard toolbar.


Tables of reported distances, angles, and torsion angles

Like described above for the table or distances and angles, the tables of reported distances, angles, and torsion angles can be copied, printed, saved, and exported in the same way.


Distance informations in the properties pane

As described in the previous articles, the properties pane shows distance informations about an atom selected in the structure picture or in the table above the properties pane either in the tabular form of neighbouring atoms or graphically as distance histogram.

Copying the text rows of a table

If the properties pane shows informations in textual form, maybe a detailed info about a reported geometric information or a list of neighbouring atoms of an atom that is selected in the structure picture, you can either copy the marked row(s) or the complete content (i.e. all rows) to the Windows clipboard. For that choose either the command Copy or the command Copy All from the context menu. (Right click to open the context menu.)

Note: Saving and printing or print previewing is not available for the textual contents of the properties pane.

Copying the distance histogram graphics

Click with the right mouse button into the distance histogram and choose the command Copy Histogram from the context menu. This will copy the graphics as bitmap into the Windows clipboard, so it can be pasted into another application as "bitmap" or "device independent bitmap".

Printing or previewing the distance histogram

The distance histogram can be printed using the command Print Histogram from the context menu of the histogram. You can also make a print preview before to check how a printout would look like by using the Print Preview command from the File menu or the corresponding toolbar button: Print Preview toolbar button. But check that the histogram has the "input focus" (click into the properties pane for instance). Otherwise the structure picture may be printed (or previewed) instead.

Note: The contents of the properties pane cannot be saved into a graphics file.


Previous article: Extended geometric infos: Angles between planes etc.
Next article: Data sheet contents