Copy & Paste of structures
Select & Delete
Installation fails on 64 bit editions of MS Windows
Some users reported that the installation of Diamond fails on 64 bit editions
of MS Windows.
If you have a Diamond CD-ROM, please copy the files manually. (The
files are not archived in so-called cabinet files as in most other
softwares' installations.) Create a sub-directory in your program
directory, e.g. "C:\Program Files\Diamond 3" and copy the contents of the
sub-directory "Diamond\Diamond\program files\Diamond 3". If you have downloaded
the self-extracting file "dm3demo.exe" (demonstration version or "delivery by
download"), please contact us.
Virus "Trojan horse found" message
At least one user reported that during copying of the version 3.0c
patch he noticed that his antivirus software "AVAST" reported
a "trojan horse" in the file "dm3demo.exe". It reports the same virus
in the several months old copy in his PC that was previously checked with
older versions of AVAST. This is surely false alarm. A message to the
company (www.avast.com) has been sent. This
is just an information to you for case that anybody else would complain.
Problems running online update on MS Windows Vista
Q: I currently have version 3.1a installed on my laptop, running
Windows Vista SP1, installed in the folder: C:/Program Files/Diamond 3.
I downloaded Update31f.exe from the website and saved it to my desktop. When I tried
to open it the first time, I got the following error message: "The requested operation
I then right-clicked on Update31f.exe and chose the Run as Administrator option,
but now I get a new error message: "Unable to install your update. The original
software does not seem to be installed on this machine."
I tried moving the update file into the Diamond 3 folder, but I still get the same
A: If you have "WinZip" installed on your computer, you can right-click
on the downloaded file "Update31f.exe", and select "Extract to..." from
the "WinZip" context menu. Afterwards, please select the Diamond 3 folder as the
destination for the extracted files.
Problems with OpenGL graphics ("rendering mode")
During the pre-release test phase, some users reported that Diamond
crashes when drawing in rendering mode. This does not happen in flat mode,
and it does not happen, if "double buffering" option is switched off ("Tools
-> Options -> Desktop"). But please note: The solution without double
buffering works for screen output only and crashes nevertheless, if you try to
print or save in a graphics file.
Problems with high-DPI scaling
If you are using a notebook or ultrabook or tablet or "2-in-1" or "hybrid" computer with very high resolution
relative to the rather small screen (i.e. a "high-DPI" screen or device, or what Apple
would call "Retina display"), this may cause trouble in Diamond.
Examples are the Microsoft Surface 2 Pro (1920 x 1080 px at 10.6 inch screen diagonal) or the Lenovo Yoga 2 Pro
with 3200 x 1800 px at 13.3 inch screen diagonal). Usually the default setting in Windows 8.1
is to scale the desktop to 150 (Surface Pro) or 200 percent (Yoga 2 Pro). Since Diamond 3.x is
not aware of this high DPI resolution,
it automatically scales all graphics (toolbar icons, caption bars,
closing icons, etc.) to 150 or 200 percent, rsp., of the native resolution. So the icons in the
toolbar etc. become recognizable.
This requires the following two settings in Windows 8[.1] to be correct:
(1) On the Windows "Display" page of the "Control Panel" (available from the context
menu of the Windows 8 desktop; navigation bar reads: "Control Panel > Appearance
and Personalization > Display") look at "Change the size of all items": There
is a ruler "Smaller --- Larger" and a percentage scaling available, if you click
on the "Let me choose one scaling level for all displays". This should be set to
"Larger" (or 150 or 200 percent, rsp.)
(2) Since this scaling concerns all desktop applications that are not "high-DPI
aware", you can force individual applications to run in native resolution yet. So
open the context menu on "Diamond.exe" (in Windows Explorer), choose "Settings...",
change to "Compatibility" page and check, if the checkmark at "Disable display scaling
on high DPI settings" is UNCHECKED.
There are several articles available about this high
DPI issue, so make a (Google) search for "Scale desktop resolution Windows 8".
Update: This also refers to later models of the mentioned Microsoft Surface or Lenovo Yoga, rsp., series
as well as to Windows 10.
Scaling of graphics
Note: This applies to earlier versions 3.0 through 3.b of Diamond. It refers to structure picture graphics scaling (how many
pixels make one cm or inch?). About scaling of the Diamond user interface/application
window, see "Problems with high-DPI scaling" above!
From Diamond version 3.0b to 3.0c, the method of scaling graphics (structure
picture but also powder pattern and distances histogram) from centimeters (or
inches) to pixels has changed.
The previous version accessed informations from MS Windows about the physical
size of the display. Since that often gave wrong results ("default monitor with
320 x 240 mm"), this led to distortions on displays with an aspect ratio
different from 4 : 3, which is typical for modern notebook computers (e.g. WXGA
with 1280 x 800 pixels) or 19 inch TFT flat monitors (e.g. 1280 x 1024 pixels),
so that circles became ellipses etc.
Since version 3.0c, the scaling is taken from the virtual resolution, which is
usually 96 dpi for "small fonts" and 120 dpi for "large fonts" setting. A
centimeter (or inch) on the screen may now deviate from a centimeter (inch) on
a ruler. If you want to adjust the scaling, you should open the "Options"
dialog from the "Tools" menu, go to the "Desktop" page and change the value
under "Screen resolution in dots per inch".
Resolution of exported bitmaps
In Diamond 2, when exporting graphics to a bitmap, a small dialog
appeared to define the resolution of the target bitmap, e.g. 300 dpi.
In Diamond 3, you define the resolution before you export: Use the command
"Picture/Layout..." and go to the "Target" page of the "Layout" dialog.
("Bitmap" layout must be selected for this.) You can also define the absolute
size of the bitmap either in cm (or inches, rsp.) or in pixels.
Transparent color in bitmap export
Diamond does not directly support a transparent color when exporting
a structure picture graphics into a bitmap file. The option "Transparent" on
the "Background" page of the "Picture/Layout" is used to change the
actually defined background color a little bit for the case that at least one
pixel of the atoms or other objects use the same RGB values as the background.
(The RGB values of the background color written to the bitmap file is listed in
the status bar.)
To continue with the "transparent" bitmap in e.g. Microsoft PowerPoint you can
1) Once inserted and placed in PowerPoint select the "Set Transparent Color"
tool in the Picture Palette (toolbar) and select the color (click into the
bitmap) you want made transparent. Note: this will make transparent all areas
in your image having the color you select.
2) Before inserting the bitmap into PowerPoint post-process the bitmap in a
graphics processing program, define the pixels with rgb(background) as being
transparent, then save in a file format that directly supports transparency
(PNG, GIF), then insert that really transparent bitmap into PowerPoint.
Where is the VRML export?
Some users reported trouble with the VRML export function they know from the
previous Diamond version:
The VRML export is (unfortunately) not documented in the current
tutorial/online help. The function to export the current structure picture
into VRML (i.e. to create a WRL file) is run through the following
command: "File/Save As/Save Graphics As..." -> In the dialog box, select the
file type "VRML (*.wrl)", edit the destination, if necessary, and
confirm with OK.
One user reports (but we did not yet test it), if Cortona player reports an
error, "you can convert the VRML1.0 file created by Diamond to VRML2 (aka
VRML97) one with this small DOS program (http://synapses.mcg.edu/tools/vrml2/vrml2.stm).
After that, Cortona will most probably be able to open your structure."
Exported Windows metafile looks different from
what you see on screen
If you are working in rendering mode and export the structure picture in
Windows Metafile format (WMF; command "File/Save As/Save Graphics As..."), the
resulting WMF may look quite different from what you expect. The reason is: WMF
is drawn in flat mode only, and some of the rendering features are not
supported in flat mode, e.g. transparent polyhedron faces. So you should first
switch to flat mode before you export the graphics as WMF:
"Picture/Representation..." -> "Representation" tab -> switch check box
"Rendering" off -> "OK".
Get molecules ends with "0 molecules found..."
If you apply the molecule creation function, e.g. "Build/Get Molecules...", and
the structure should contain isolated molecular units (and not completely
polymeric), you may get the result "0 molecules, xxx atoms generated" in the
status bar. Diamond stops the generation of molecules, i.e. the repetitive
completion of bonding spheres, after a while. Most probable reason is that the
connectivity, basically generated from mean bond lengths and - where not
defined - sums of effective radii, does not match the real conditions in the
imported crystal structure. You should check and adjust the settings under
How to avoid big H balls in ellipsoid model, or:
Where has the "No ellipsoid representation" option gone?
In Diamond 2, the model (ball-and-stick, wires, space-filling) was a global
setting, and the ellipsoid representation was a special option within the
(usual and default) "ball-and-stick" model. To avoid big H balls (derived from
the Uiso or Biso), there was the option "No ellipsoid representation", usually
used for H only but principally available to other atom types, too.
Now, in Diamond 3, we can use different models within one picture and the
ellipsoid model is a model separate from the standard ("ball-and-stick") model.
To prevent e.g. the H atoms from being rendered as ellipsoids check that no
atom is presently selected, go to "Picture/Atom Designs...", which opens the
"Atom Group Designs" dialog. On the "Model and radii" page, mark the "H" in the
"Atom groups" list on the left, then set "Model; Default model for selected
atom group" = "Standard (ball-and-stick)".
Another, more general method, is to select all H atoms (at best via
"View/Table/Table of atom groups", select row with "H", then "Select atoms by
group" from context menu), then run "Picture/Atom designs...", where you go to
the "Radius" page and choose the "Standard (ball-and-stick)" radio button
rather than the "Ellipsoid" button. (Please note: This applies to the currently
selected H atoms and does not affect H atoms that you add to the picture
How to expand bond radii to > 2.5 A
(From Diamond user group)
Q: The bond radius in Diamond is limited to 2.5
Angstroems. How can I draw a bond with a bond radius of 5
A: The limit for the bond is 2.5 Angstroems. However the
limit for the border is 5. If you set the border at 5, you should get what you
want or close to it. Actually there seems to be a feature (or bug?) where you
can set the border to higher numbers (I have one now at 88). Select a large
value for border. The program says "choose a number between 0 and 5". Just
click on "OK" and then "Apply now" and the same error message pops up again.
Click "OK" again then "cancel" and now I have a hugely wide bond.
No edges in rendering mode
Objects like atoms or bonds do not use an edge in rendering mode, whereas they
do in flat mode, unless explicitely switched off. In rendering mode there is no
border, because usually in rendering mode lighting is on and the shading of the
objects gives a 3D impression like in nature. (There are actually no edges in
nature. Edges are only helpers in flat mode, which is kind of sketch or "comic
strip", to emphasize objects from their background.) By default, Diamond 3
has lighting activated. One way to switch lighting on or off is to use the
checkbox "Enable lighting" in command "Picture/Representation..." ->
"Picture Representation" dialog -> "Lighting" page). Or use the toolbar
button with the tooltip text "Representation Settings" in the Picture toolbar,
usually at the bottom of the Diamond main window.
Automatic adjustment seems to work not correctly
Q: When I create a picture of A4 dimensions with vertical
columns of atoms, and check "Automatic adjustment", and rotate the columns to
be horizontal, the column run out of the picture. Then - after manually
pressing Adjust - it is adjusted. (In Diamond2 the automatic adjustment works
A: In Diamond 3, unlike in Diamond 2, the automatic adjustment
only takes affect in building operations but not e.g. when it
is rotated. The reason is that the structure e.g. wobbles
otherwise when it is rotated, or shifting or changing enlargement factor
would take no affect at all.
Can I expand a packing diagram?
If you have created a packing diagram, e.g. unit cell, added bonds and H-bonds,
then you want a bigger cell range with the same bonding scheme: Unfortunately
there is not yet a one-shot function "Expand". Instead you have to fill
another, bigger cell range, e.g. with "Build/Fill/Cell range", then add the
(covalent) bonds, e.g. with "Build/Connect atoms", then add the H-bonds again
("Build/Create H-bonds"). (There will be better handling of H-bond connectivity
in next version 4 of Diamond as well as an "Expand/Shrink" function.)
How to easily change pen/line widths
Q: Is there an easy way to change the pen/line-width for a drawing?
I can get reasonable ellipsoid and atom line widths for a single
molecule, but when i do a cell packing the line-width is way too big and
the ellipsoids become almost solid.
A: With no atoms selected, run the command "Picture"/"Atom Designs...", which
opens the "Atom Group Designs" dialog. (With atoms selected, the "Atom Designs"
dialog would appear instead to change the properties of the selected atoms only.)
In the list "Atom groups", mark all atom groups (or just the atom groups whose properties
you want to change), for instance by clicking on the first item and shift-clicking
on the last item. Change the border line width and/or inner line widths by settings
the values in the "Weight [mm]" input fields to appropriate values. (Leave the other
fields, like "Style", "Color", etc. unchanged.) Ensure that the checkbox "Update
atoms" is set. Close the dialog with "OK".
Note: If some of the atoms in the structure picture use designs
different from their associated atom group designs, this may overwrite
these individual settings. You should instead select all atoms and run the "Atom
Designs" dialog (in order to change the line widths of the selected atoms).
Copy & Paste of structures
How do I paste a structure picture into
Unlike version 2.x, the new version of Diamond also copies a Diamond document
object (along with the bitmap and the metafile) to the Windows clipboard.
When you run the "Paste" command from the "Edit" menu in a typical Windows
application, e.g. Microsoft Word or PowerPoint, the Diamond document
object is pasted rather than the bitmap or metafile. To paste the bitmap or
metafile like with version 2.x, choose the command "Paste Special..." (in
German: "Inhalte einfügen...") instead from the target
application's "Edit" menu, which opens a dialog where you can choose
between several formats that are currently available in the Windows
clipboard. Choose "Bitmap" or "Graphics", rsp., as format in the
dialog and press OK. (Note: Some applications may offer additional formats,
such as "Device-independent bitmap".)
How do I copy and paste a (part of a) structure
picture into another picture?
Q: I am trying to simulate the process of putting one layer of
Anatase material on top of another structure (Perovskite). I tried copied
and paste a fragment of Anatase on top of Perovskite but failed because of
different structure parameters.
A: In Diamond 3, there are in principal two ways to copy/paste
a structural part into another one:
a) Both are crystal structures (cell, space group) and have the same structural
b) or both have no translational symmetry (i.e. no cell, space-group, in
Diamond often called "molecular structures").
In your example, the best thing to do is the following:
1) For both your Anatase and Perovskite structure, prepare a structure picture
each, e.g. a layer and a unit cell, rsp.
2) For both Anatase and Perovskite picture, run the command "Remove
translational symmetry" from the "Structure" menu.
3) Select the atoms and bonds from Anatase you want to be copied, run
"Edit/Copy", change to Perovskite picture and run "Edit/Paste".
4) Shift or rotate the marked atoms from the pasted Anatase, if needed
My POV-Ray pictures are rather dark
Depending on the type of monitor, background and material settings, the objects
in a POV-Ray export may appear too dark. One way is to decrease the value of
"assumed_gamma" on "Global POV-Ray Settings" dialog, page "Lights" (command
"Tools/POV-Ray/Global Settings..."), e.g. from the default "2.2" to "1". But
this often leads to poor contrast. Another method is to add a second or even
third light source and to set all light sources to white ("rgb<1,1,1>").
Example: The two light sources that read "parallel <0,0,-1>
rgb<1,1,1>" and "parallel <1,1,-1> rgb<1,1,1>" in the table
"Light sources" of the dialog lead to more contrast (one light frontal, the
other from top right front).
How do I change the quality of POV-Ray output?
Q: Unlike for a POV-Ray preview
("Tools/POV-Ray/Preview..."), I cannot change the quality of the POV-Ray
output (option "+q") in the target bitmap ("Tools/POV-Ray/Render Into
A: Launch the POV-Ray development environment via
"Tools/POV-Ray/Launch Environment...". Diamond opens that with a temporary file
"~DSxxx.POV" at the location where Windows deposits temporary files, i.e.
usually at "c:\Files and Settings\Username\Local Settings\Temp".
In the environment choose from the left combobox under the toolbar
("Preset render options") "[1024x768, AA 0.3]", in the input field right
beneath enter e.g. "+q3 +w4000 +h3000 +fN", i.e. quality option "q3"
(shading without shadows), resolution of 4000 x 3000 pixels, target file has
PNG format. The target file uses the same name as the temporary POV file and is
located in the same temporary directory.
My POV-Ray picture does
not show my floor and background settings
Q: My preferred settings for POV-Ray pictures are "Objects: shiny",
"Background: S_Cloud2", "Bottom: Ocean". Previously it worked fine but now I see
a completely different background and no ocean.
A: It is important to activate "Central projection" ("Picture"
menu, "Picture Representation" dialog, "Projection" tab). Otherwise you look as
through a tunnel and just see a small (greyish) portion of the sky. If you prefer
parallel projeection, use a rather high value for the camera distance, if the perspective
distortion is too high.
How can I get a POV-Ray picture with legend?
Q: When I use "Tools / POV-ray / Render Into Bitmap...", the Legend
will disappear in the result BMP file. How to solve it? In other words, how can
I get a full rendered BMP file with legend?
A: Unfortunately, the legend of atom (type)s as well as the axes
symbol (cf. "Object/Coordinate system") cannot be exported together with the actual
picture building (that means the atoms, bonds, polyhedra, planes, etc. - if any).
Provided that you are not using textures for your atoms etc., I suggest to render
your picture building into a BMP, then cut the legend from a normal Diamond (hi-resolution)
drawing and paste that into your target BMP.
How to place labels more precisely
Moving of selected labels with the mouse often is not precise enough. You can
use the cursor keys to shift one or more selected labels one pixel per
keystroke each. (Please note: If no label is selected, the cursor keys cause
the structure to be rotated, by default 1 degree per keystroke along x- or
How to add Angstroem symbol (or special character)
To enter the Angstroem symbol (e.g. for "Objects/User defined text" or "Atom labels"),
best way is to use (it looks a little bit different on Windows XP or Vista or 7):
Windows Start menu -> Programs -> Accessories -> System Tools -> Character
On Windows 10 enter "Character map" into the "Type here to search" field.
Angstroem symbol (or other special character) not readable
Diamond does not support Unicode character set, that means it uses 8-bit characters
for the ASCII range (A-Z, a-z, 0-9, .,-! etc.) and ANSI for the character codes
128 through 255. Angstroem symbol has code 197. (So I can simply enter it with key
combination AltGr + 0,1,9,7).
This works fine on English, German, French etc. computers - but in other countries
the character code 197 is probably coded for a different (e.g. Kanji) character
or - even worse - the 197 ist part of a byte combination coding a (Kanji) character.
As workaround, you can change the "support for non-unicode programs" on your computer:
You find this in Windows Start menu -> Control Panel -> Regional and Language
Options. (In Windows 10 enter "Region" into the "Type here to search" field.)
This dialog may differ a little bit depending on Windows version; most probably
there is a multi-tab dialog and the "Language for non-Unicode programs" come on
the "Advanced settings" tab. Choose e.g. "English U.S." (on Vista you will be prompted
for system administrator rights ...)
(Please note: This is a Windows system-wide setting and may reflect other programs
on your computer that have no native Unicode support! So make a note of the previous
setting in the dialog and restore it when you do not use Diamond.)
How to kill the diswanted element
symbols in the legend?
Go to "Objects" menu, "Legend..." command. In the dialog activate
"Display legend", if not yet done, click the "Select..." button. You can turn
off and on individual elements and/or hide elements not in drawing.
Problem with "Add cell edges"
Q: When I use "Build/Add Cell Edges..." to create e.g. blue
cell edges 1 mm thick, then run this command again but with red rather than
blue, the cell edges keep blue.
A: Please use the command "Cell Edges Design..." from the
"Picture" menu to modify designs of existing
cell edges. The command "Add Cell Edges..." is just to add new cell edges and
does not overwrite existing cell edges. (In a future version
there will be a checkbox like "Overwrite..." in the "Add Cell Edges"
Problems with wrong space group settings
When users import crystal structure data or enter them manually, they often get
the wrong space group setting. Example from the user group:
Q: I was attempting to recreate the Al2O3 structure from
crystallographic data I obtained from Mincryst database. I compared my
structure to the mineral example included with the software and they are not
the same. I checked the input fields (bib, sym, cell, atomic par) for the
mineral example and found no differences. However, when I begin to build the
structures up (ie add atoms, fill coord. sphere, etc.), I see
differences. The most notable difference with my Al2O3 is its trigonal Al
atoms and an overall two dimensional structure. The mineral example
starts with octahedral Al and builds into a three dimensional structure.
What am I doing wrong (or not doing)?
A: Could you please check the space group setting (centering)
again? In Diamond, there are two settings available for "R-3c" (hexagonal
obverse (no. 167) and primitive (no. 16701)).
Where do I find e.g. "P21/b"?
In the "Structure/Space Group" dialog, for monoclinic space groups, long rather
than short Hermann Mauguin symbols are
given to make the axis they refer to clearer,
e.g. "P 1 1 21/b" for monoclinic axis c. In this example, enter "P21/b" into the
edit field in the top left, press Tab key. Diamond will jump to the setting corresponding
to the cell choice. This kind of selection automatically happens when you directly
press OK after entering "P21/b".
Where do I find "origin choice 2"?
Q: How do I use the second setting of the space group no. like
227 and so on?
A: The "Space-group" dialog shows a tree view of the 230
space-groups and for many of them additional settings (2nd level after the plus
sign). The "origin choice 2" ("origin at centre") settings of the (cubic) space
groups in the dialog is e.g. for space group number 227: "F d -3 m (22701)",
whereas the prior "F d -3 m (227)" is origin choice 1. (Ok, the "22701" is an
interior number, it would of course be better to specify the "origin choice 2".) The same is for the other
(cubic) space groups: origin choice 2 is IT-no*100+1.
Redundant space group settings
There are two sets of space group definitions in Diamond: One set contains all
settings listed in the Int. Tables vol. A, and additionally some crude settings
from Inorganic Crystal Structure Database (ICSD), such as "F-1", but many of
them are redundant, like "PN3MZ" ('Z' means origin at Zero, thus origin choice
2, whereas the 'S' in "PN3MS" means Shift, thus origin choice 1).
Q: I have a model crystal in P-43m which I would like to reduce.
Hopefully, I can use Diamond to produce a CIF in P1 such that all symmetry is removed.
After pressing "Remove Translational Symmetry" on my selected unit cell, I find
a few problems:
- (minor) from the list of created atoms, do I have to manually delete duplicate
atoms? (i.e. -0.04 0 0 vs 0.96 0 0)
- How do I keep the same crystallographic coordinates when I delete the symmetry
cards? The function defaults to cartesian coordinates.
A: The command "Structure -> Remove Translational Symmetry"
makes the coordinates of all atoms that are present in the structure picture cartesian
and removes cell parameters and space-group.
What you need, as I understand, is a command like "Reduce to space group P1".
This can be performed in four steps:
1) Fill the unit cell, e.g. with "Build -> Fill -> Unit cell".
2) Note the cell parameters (Diamond will forget them through the following procedure).
3) Run command "Structure -> Remove Translational Symmetry".
4) Run command "Structure -> Add Translational Symmetry...".
In the dialog enter "P1" for the space group and enter your six cell parameters.
Diamond will then re-convert the cartesian coordinates to fractional coordinates
and also remove redundant (translational-symmetry-equivalent) atoms from the parameter
list. (You may find a dummy atom "Du" at 0,0,0 in the list. This dummy atom comes
from the previous cell corners. Remove this atom.)
How to simply rotate along an axis for 90 deg?
Q: Is there a simple way to rotate a figure by 90 deg along
Cartesian axis, for instance along the axis perpendicular to the plot. This is
important when choosing between landscape and portrait paper layout.
A: The current version does not offer a (toolbar) button or
other simple command to rotate for 90 deg on a click. Instead use the
command "Move/Rotate Incrementally...". In the dialog, enter "90" for the axis
you want to rotate along, then click "OK" (or "Apply" and close with "Close").
The dialog keeps the "90" in mind for the next time you run the command.
How do I get a view perpendicular to a
Q: I like the least-squares plane feature, but how do I get a
view perpendicular to this plane? Presently I select atoms, calculate
plane, and then copy h,k,l values from plane output into the view direction
dialog box. I can't seem to find out how to do this automatically.
A: Unfortunately, there is no function for directly viewing
towards a user-defined least-squares plane (or along a user-defined
least-squares line) yet. However, a corresponding functionality will be implemented in Diamond version 5.0.x.
Difference between "Perspective" and "Walk in/out"
"Walk in/out" is a new mode in version 3, "Perspective" is an old function
since version 1. "Perspective" is defined as a camera position on the z-axis of
the view coordinate system (orthogonal to the screen) relative to the center of
rotation of the structure picture (z=0). The closer the camera to the screen,
the bigger the perspective distortion. The size (in Angstroems relative to cm
on the screen) is independent from that. In reality the size would depend on
the camera distance, too.
"Walk in/out" moves the camera, too, but keeps the relative distance to the
reference point constant, i.e. you can move into and through a structure
without letting the structure be killed by distortion. This made the definition
of a reference point, separate from the center of rotation, necessary.
Where are atoms #1 through #4 and bonds #1 through
The numbers in the table of created atoms do not begin with 1 but with 5.
The reason is: Diamond internally uses atoms #1 through #4 as pseudo-atoms for
origin and the terminal points of the unit cell base vectors a,b,c. The bonds
#1, #2, and #3 are pseudo-bonds for base vectors a, b, and c, rsp.
How to get a table of orthogonalized atom
There are two ways to get output with atom coordinates in Angstroems. First
generate a structure picture with the atoms whose atom coordinates you want to
export. Then either:
a) Save the structure picture in XYZ format (command "File -> Save As ->
Save Structure As"; in the "Save Structure As" dialog choose file type "XYZ
b) Configure the table of created atoms (command "View -> Table ->
Created atoms") for the columns you want to export (command "View ->
Table -> Table Settings"), e.g. "atom symbol", "xr", "yr", and "zr" (these
are the orthogonal coordinates in Angstroems), then run the command "Save
Table" from the table's context menu and choose an appropriate
output format ("file type").
Standard uncertainties deviations are smaller than in
The standard uncertainties calculated by Diamond for distances, angles,
etc. mostly deviate from the ones output by
SHELXL. The reason is that Diamond only considers the standard
uncertainties in cell parameters and atomic coordinates but does not consider
the covariances between the individual parameters as SHELXL does.
Select & Delete
How do I delete a picture?
To delete a structure picture, you must leave the structure picture view,
preferably to structure level: "View/Structure Overview of XXX". This shows the
picture(s) of a structure dataset as "thumbnails". Click into the frame(s) of
the picture(s) (not into the pictures) you want to delete (the frames
change to blue), then choose the command "Delete" from the "Edit" menu.
How do I delete a structure?
To delete one or more structure data set(s), change to structure
table view: command "View/Structure Table". In the table of structures,
select the data set(s), then choose the "Delete" command from the "Edit" menu.
How to delete bonds between special
Q: How can I delete (or it would be helpful to add a command)
all bonds of a type specified by atom numbers, say
A: The best way to delete bonds is to sort the table of
created bonds (command "View -> Table -> Created bonds") for atom
symbols. The problem here is: Every bond appears once, and if e.g. "O3" comes
in the first and "H12" comes in the second column or vice versa, is
coincidence. So you have first to sort for atom #1, go to the block
with "O3" in the atom #1 column, then mark all rows with "O3" - "H12" as
selected, then run the command "Destroy Bonds" from the context menu of the
table. Repeat this with the "H12" block, mark all rows with "H12" - "O3"
as selected and destroy these bonds.
How to select all H-bonds?
There is no special command to select all hydrogen bonds. To select them (e.g.
for re-design or to delete them but leave other bonds unchanged), the best
way is to sort the table of created bonds for bond lengths, hoping the H-bonds
then appear in a block. Then mark all bonds of that block and run the "Destroy
Bonds" command the context menu of the table. (In a future version there will
be a command or a new column in the table of created bonds, e.g. "kind of
bond", that enables to sort especially for e.g. H-bonds.)
How to select equivalent atoms?
(It is too hard to deal them one by one...) To select equivalent atoms, the
best is to display the table of created atoms ("View/Table/created atoms"),
then sort for atom symbols, so that the equivalent atoms are grouped together
and you can easily select them (all).
With "Edit/Lasso selection" you activate a mode where you can define a
free-hand figure and select all objects inside that figure. (Please note: There
is no chapter about lasso selection in the online help; this will follow in the
next software patch.) After the mode has been activated, the mouse cursor
symbol changes. You start the figure by pressing down the left mouse
button, then draw the figure like in a graphics program and release the mouse
button when you have reached the starting point (the small square symbol). If
you release the mouse button before, the figure can be closed automatically
with a double-click. Please note that the definition of the free-hand figure is
not terminated unless you either match the starting point or let it close with
double-click. (You will then see a straight line between the last point and the
current mouse position.)
The lasso selection mode keeps active unless you terminate it with pressing
Escape key or running "View/Lasso Selection" command again.
Please note: There is a bug, which will be repaired in one of
the next software patches: Lasso selection does not match the objects correctly
when layout is "bitmap" or "printout page" (cf. "Picture/Layout...").
Why is a plane invisible, although listed in the table
Usually when you create a new plane - either by hkl or through 3 or more atoms
(commands "Objects/Planes/Create...") - this new plane is visible by
default. The checkbox "Display this plane in structure picture" on the "Style"
page of the "Add[...] Plane" dialog is NOT SET, if you switched off a
plane before. (The flag "Display..." is stored in the Windows Registry). A
cleared display flag is useful for plane objects that are not to be shown
in the picture but are used to calculate distances and angles with/to other
objects (lines, atoms etc.). Since version 3.1, there is a new command in the
context menu of the table of planes (cf. "View/Table/Planes"): "Show Plane" or
"Hide Plane", rsp., to make the selected plane(s) (in)visible. Or choose the
"Edit Plane..." command from the context menu of the table, which opens the
"Edit Plane Style" dialog.
How can I limit a plane through atoms to the boundary of
If you define a plane through three or more atoms (cf. "Objects/Planes/Create
Plane Through Atoms"), this plane is infinite, i.e. its extension depends
on the current size of the structure picture. If you want the plane
to be limited by its constituing atoms, that means you just want a polygon, you
should use the polyhedron function instead. If there is no atom inside the
limiting atoms, you have to define a dummy atom and take this dummy atom as
center of a polyhedron. Thus your polygon is a special "polyhedron" with just
one single face, the polygon.
How to cancel lengthy powder pattern or
Diamond stores the latest settings for powder pattern as well as distances
calculation in the Windows Registry and uses these values whenever you
open/import a structure and calculate powder pattern or distances, rsp., the
next time. If it gets too lengthy (Diamond seems to hang up...), you can
interrupt the calculation with the "Ctrl+Break" key combination, then change
the settings to something more "reasonable".
What is exported from the powder pattern?
Q: Diamond actually makes two calcuations for patterns:
- a green digital one, only built up from green bars, indicating the reflexions
positions and their intensities,
- a blue digital one, continuous, mathematicaly calculated with a step size, a profil
function (Gaussian, Lorentzian, pV) etc.
With the 3.1f version of diamond is it possible now to export (two columns, 2theta/intensities)
the blue digital continuous powder pattern?
A: When Diamond calculates a powder pattern, it handles three different
a) The reflection parameters: d(h,k,l), 2theta, F, int. -> this is used for the
reflection parameter table above the diffraction diagram.
b) The peak list: simple compilation of 2theta vs. int. from the reflection parameter
table where reflections having the same 2theta value are summed up to peaks.
c) The profile: a simple simulation of step-scan data using a profile function.
In "stick pattern", the peaks from b are simply used as vertical lines. In "profile
pattern", the step-scan data are connected with line each resulting in the profile
graph. The optional peaks (individual heights; or peak positions as ticks of same
height) are drawn as vertical *greeen* lines to distinguish "profile" and "peaks".
When you export a powder pattern (d-spacing vs. int. or Stoe PKS format or hklF
format or 2theta vs. int.), Diamond always uses the reflection parameter list (a)
! Neither peak nor profile data can be exported in current Diamond version directly!
Older FAQ's refering to version 2.1
FAQ's refering to version 2.1 of Diamond can be found here.