CDX (.cdx)
- Import supports the CDX file format.
Background & Context

-
- MIME type: chemical/x-cdxChemDraw Exchange format.
- Used by CambridgeSoft Corporation's ChemDraw application to store molecular data.
- Binary format.
- Stores two-dimensional atomic coordinates, chemical bond information and metadata.
Import

- Import["file.cdx"] imports a CDX file as a molecule.
- Two-dimensional coordinates from the CDX file are stored in the molecule in the AtomDiagramCoordinates option value.
- Use mol["AtomDiagramCoordinates"] to retrieve the coordinates from the imported molecule mol.
- See the following reference pages for full general information:
-
Import import from a file CloudImport import from a cloud object ImportString import from a string ImportByteArray import from a byte array
Import Elements

- General Import elements:
-
"Elements" list of elements and options available in this file "Summary" summary of the file "Rules" list of rules for all available elements
Examples
Basic Examples (2)
Import a CDX file as a molecule:
Show the molecule in a 2D structure diagram:
Coordinate and stereo information read in from the file are stored in the AtomDiagramCoordinates and StereochemistryElements option values: