
static Function writeMOLV3( Molecule mol): shortcut method to write a V3000 MDL MOLFile given an input Molecule without instantiating a MOLInterpreter.static Function writeMOL( Molecule mol): shortcut method to write a V2000 MDL MOLFile given an input Molecule without instantiating a MOLInterpreter.static Function writeJSON( Array mols, Array shapes): shortcut method to write ChemDoodle JSON into a string given input Molecule and Shape arrays without instantiating a JSONInterpreter.Unit: molecules): shortcut method to write an CML File given an input Molecule array without instantiating an CMLInterpreter static Function readXYZ( String content): shortcut method to read a XYZ file and return the corresponding Molecule without instantiating a XYZInterpreter.static Function readRXN( String content, Number multiplier): shortcut method to read a MDL RXNFile and return the corresponding reaction data without instantiating an RXNInterpreter the optional multiplier variable will override the default_anstromsPerBondLength variable, set it to 1 for 3D scenes in Ängstroms.In addition to reading atoms from PDB files, this interpreter will also read residue data and generate ribbons and cartoons for that data static Function readPDB( String content, Number multiplier): shortcut method to read a RCSB PDB file and return the corresponding Molecule without instantiating a PDBInterpreter the optional multiplier variable will override the default_anstromsPerBondLength variable, set it to 1 for 3D scenes in Ängstroms.static Function readMOL( String content, Number multiplier): shortcut method to read a MDL MOLFile and return the corresponding Molecule without instantiating a MOLInterpreter this function supports both v2000 and v3000 MOLFiles the optional multiplier variable will override the default_anstromsPerBondLength variable, set it to 1 for 3D scenes in Ängstroms.static Function readJSON( String content): shortcut method to read ChemDoodle JSON from a string and return an object with two parameters, molecules and shapes, without instantiating a JSONInterpreter this function will automatically handle the type of JSON object received.static Function readJCAMP( String content): shortcut method to read a IUPAC JCAMP-DX file and return the corresponding Spectrum without instantiating a JCAMPInterpreter this shortcut method will automatically convert HZ to PPM.static Function readCML(): shortcut method to read CML and return the corresponding reaction data without instantiating an CMLInterpreter.In addition to reading atoms from CIF files, this interpreter will also produce a unit cell and other objects relevant to the display of periodic information static Function readCIF( String content, Number xSuper, Number ySuper, Number zSuper): shortcut method to read a CIF file and return the corresponding Molecule and unit cell shape without instantiating a CIFInterpreter the returned object will contain two parameters, molecule and unitCell the three optional integers specify the supercell dimensions, by default they are all 1, so reading a file without specifying these parameters will produce just the unit cell.static Function getVersion(): returns the version of the ChemDoodle Web Components library changing this value in source is not recommended.static Array SYMBOLS: a numbered Array containing all element symbols, where the index is the element's atomic number - 1 (index starts at 0 for hydrogen).static Array RESIDUE: a hashmap for residue data where the residue's symbol is the key and the corresponding Residue data structure is the value.static Array ELEMENT: a hashmap for elemental data where the element's symbol is the key and the corresponding Element data structure is the value.It contains access to all packages, canvases and layouts as well as shortcut functions for common tasks. Documentation ChemDoodlethis package is the root for all contents of the ChemDoodle Web Components library.
