MarvinSketch: parameters and events

Version 5.5.0.1

ParameterMeaningDefault
autoscale How to display a loaded molecule:
  • "true" - fit to the applet's window
  • "false" - use default scaling
false
viewonly Visualization mode: hide editing buttons; "true" or "false". false
verticalbar Deprecated.  
statusBar Enable the status bar. false
dispQuality Display quality.
  • 0 - low quality, faster rendering
  • 1 - high quality (antialiasing), slower rendering
1
implicitH How to display H labels.
  • off
  • hetero - on heteroatoms
  • heteroterm - on hetero or terminal atoms
  • all - all atoms
heteroterm
explicitH Show explicit hydrogens. true
chiralitySupport When to show atom chirality (R/S).
  • off - never
  • selected - if chiral flag is set for the molecule or the atom's enhanced stereo type is absolute
  • all - always
off
ezVisible Show (true) or hide (false) E/Z labels. false
background Deprecated.  
molbg Molecule background color in hexa. Sets the background color of the molecule canvas. See also: background  
colorScheme Color scheme.
  • mono - monochrome
  • cpk - Corey-Pauling-Kultun
  • shapely - shapely (residue types)
  • group - residue sequence numbers
cpk
rendering Rendering style.
  • wireframe - wireframe
  • wireknobs - wireframe with knobs
  • sticks - 3D sticks
  • ballstick - ball & stick
  • spacefill - balls
wireframe
wireThickness Line thickness for "wireframe" and "wireknobs" rendering modes, in Angstroms. 0.064
stickThickness 3D stick diameter for "sticks" and "ballstick" rendering modes, in Angstroms. 0.1
ballRadius Ball radius for "ballstick" rendering mode, in units of covalent radius. 0.5
scale Magnification. A 1.54 Å long C-C bond is magnified to scale pixels. 26.4
atomFont Atom symbol/label font: Serif, SansSerif or Monospaced SansSerif
atomsize Atom symbol font size in C-C bond length units:
atomsize*1.54 Å = atomsize*scale points
0.4
bondSpacing Double bond spacing in C-C bond length units:
spacing*1.54 Å = spacing*scale pixels
0.18
stickdst Stick distance of atoms in C-C bond length units. 0.3
mergedst Merge distance of atoms in C-C bond length units. 0.1
downWedge Wedge bond display convention. Down wedge points downward in MDL's convention (mdl), upward (at the chiral center) in Daylight's (daylight). mdl
importConv Conversion(s) after molecule loading. Currently the following options are implemented:
"a" or "+a"     General aromatization
"a_bas" or "+a_bas"     Basic aromatization
"-a" dearomatization
"H" or "+H"     add explicit H atoms
"-H" remove explicit H atoms
"c" automatic cleaning
 
cleanOpts Options for 2D or 3D cleaning.
cleanOpts accepts the same parameter values as clean2dOpts or clean3dOpts depending on the cleaning dimension (cleanDim).
 
clean2dOpts Options for 2D cleaning (0D->2D) See base 2D cleaning options  
clean3dOpts Options for 3D cleaning (0D->3D) See base 3D cleaning options  
cleanDim Number of space dimensions for cleaning.
  • 2 - two-dimensional cleaning
  • 3 - three-dimensional cleaning
See also: cleanOpts, importConv.
2
showSets Show the specified atom sets only. Comma separated list of set sequence numbers (0, ..., 63).  
setColoringEnabled Atom/bond set coloring. true
atomSetColor0
atomSetColor1
...
atomSetColor63
Atom set color in hexa.  
bondSetColor1
...
bondSetColor63
Bond set color in hexa.  
undo Maximum number of undo operations. 50
moreEnabled Enable/disable the More button. true
elements Comma-separated list of allowed elements (H, He, Li, ...). All elements in an atomic number interval can be specified with the short X-Y notation.
Example: "B-F,P-Cl". Here B-F is equivalent to B,C,N,O,F.
H-Ha
queryAtoms Comma-separated list of query atoms and properties.
  • any - any atom ("A" in molfile, "*" in SMARTS),
  • arom - aliphatic and aromatic, ("a" and "A" in SMARTS),
  • conn - total number of connections, ("X" in SMARTS),
  • H - total number of hydrogens, ("H" in SMARTS),
  • hetero - heteroatom ("Q" in molfile, "[!C!H]" in SMARTS),
  • list - atom list,
  • notlist - atom 'NOT' list,
  • Rgroup - Rgroups,
  • rings - "R" in SMARTS,
  • srs - smallest ring size, "r" in SMARTS,
  • val - valence, "v" in SMARTS,
Example: "list,notlist".
See also: Query properties in file formats.
 
atomStrings Comma-separated list of string type atom properties.
  • alias - atom aliases
  • pseudo - pseudoatoms
  • smarts - SMARTS query atom string
Example: "smarts".
 
extraBonds Comma-separated list of extra bond types.
  • arom - Aromatic bond,
  • any - Any bond,
  • 1or2 - "Single or Double" query bond,
  • aromany - "Single or Aromatic" and "Double or Aromatic" query bond types,
  • topology - "Chain" and "Ring" bonds (in molfiles),
  • wedge - Up and Down stereo wedge bonds,
  • either - "Up or Down" and "Cis or Trans",
  • ctu - "Cis or Unspecified" and "Trans or Unspecified".
Example: "arom,wedge".
See also: Query properties in file formats.
 
reactionSupport Enables/disables reaction arrow drawing. true
tmpls0
tmpls1
tmpls2
...
The format of this parameter is :name:file[:-], where name is the template set name, file is the sdf or cssdf file containing the template structures and the option - defines a separator line over the template name in the menu.

The file can be optionally compressed with GZIP (Java >= 1.1). A template molecule is automatically converted to 2D if the mol2dcmd field contains one of the following values:

  • z=0 - for trivial conversion,
  • clean - for sophisticated 2D cleaning.
For automatic 3D conversion, the value of the mol3dcmd field must be
  • clean - for sophisticated 3D cleaning.
Template buttons may have a title if the abbreviation fields are specified. A button is rotatable if the rotation.unit field is specified (the unit rotation angle in degrees). For template tables, endrow=E can be specified for molecules in the last column. If it is not set for any molecule, then the best number of columns and rows are calculated automatically.

click here
ttmpls0
ttmpls1
ttmpls2
...
Templates for the toolbar. Same as tmpls but these template tables must contain only one row to fit in the toolbar. click here
xtmpls File containing extra templates. Extra templates are left to the normal templates (see tmpls) in the template panel.  
isMyTemplatesEnabled To avoid the lookup for marvin.mytemplates file and disable the usability of the My templates on template toolbar set this property to false. true
abbrevgroups File containing the abbreviated groups. chemaxon/marvin
/templates
/default.abbrevgroup
molFormat Default file format: mol, csmol, smiles, cxsmiles, cml, pdb, pov, sybyl, or xyz. mol
bondDraggedAlong Bond in hand is visible (true) or not (false). This option can also be set from the Edit/Preferences/Sketching menu. true
debug Debug mode. Possible values: 0, 1, 2. 0
bondLengthVisible Shows bond length labels
  • true - display
  • false - do not display
false
atomSymbolsVisible Shows atom symbols
  • true - display
  • false - do not display
true
atomNumbersVisible Show atom numbers
  • true - display
  • false - do not display
false
atomMappingVisible Show atom mapping
  • true - display
  • false - do not display
true
atomPropertiesVisible Show atom properties
  • true - display
  • false - do not display
true
lonePairsVisible Show lone pairs
  • true - display
  • false - do not display
false
valenceErrorVisible Highlight (by underlining) the labels of those atoms with valence errors. This option can also be set from the Edit/Preferences/Sketching menu.
  • true - display errors
  • false - do not display errors
true
reactionErrorVisible Highlight invalid reactions with a red rectangle around the reaction arrow. You can also change its value from Edit/Preferences/Sketching menu.
  • true - display rectangle
  • false - do not display rectangle
true
grinvVisible Set visibility of graph invariants.
  • true - show graph invariants
  • false - hide them
false
sketchHelp Sketcher help contents. chemaxon/marvin/help
/sketch-index.html
sketchQuickHelp Sketcher quick help. chemaxon/marvin/help
/sketch.html
viewHelp Viewer help contents. chemaxon/marvin/help
/view-index.html
viewQuickHelp Viewer quick help. chemaxon/marvin/help
/view.html
addRemoveHatomsEnabled Add/Remove -> Explicit Hydrogens is enabled or disabled in the Edit menu. It will be disabled if this parameter is false. true
2dviewerEnabled 2D viewer is allowed or not.
  • true - enabled
  • false - disabled
true
3dviewerEnabled 3D viewer is allowed or not.
  • true - enabled
  • false - disabled
true
copyOpts Output formats for the copy command. To specify more formats, enumerate them in a comma separated list.
  • text - Copy As Text
  • bitmap - Copy As Bitmap Image
  • emf - Copy As Vector Graphical Image (EMF)
platform dependent
defaultSaveFormat Determines the default chemical file format in the Save As dialog. mrv
sketchAnyBond How to draw any bond in sketcher.
  • auto - dashed line in most cases, solid line only when all bonds are generated from atom coordinates (e.g. XYZ and PDB files).
  • dashed - draw dashed line
  • solid - draw solid line
auto
viewAnyBond How to draw any bond in viewer.
  • auto - dashed line in most cases, solid line only when all bonds are generated from atom coordinates (e.g. XYZ and PDB files).
  • dashed - draw dashed line
  • solid - draw solid line
auto
rgroupsVisible Show (true) or hide (false) R-group definitions. true
terminalBondDeletionStyle If set to "withAtom", the default operation of the eraser tool when clicking on a terminal bond is to delete the bond, and the terminal atom. With the ALT modifier key it is possible to delete only the bond. The default behaviour and the behaviour with the ALT key can be switched if this is being set to "withoutAtom". There is also a possibility to set this on the Preferences dialog. withAtom
disablePluginsLookup Set this to true if you want to disable the lookup for plugins.properties. To load plugins.properties form a location to enable the Tools menu, define the location of the file with toolfiles parameter. false
defaultDatatransferPolicy Set this to true if you want to disable the search of datatransfer.properties in the codebase, and use the default configuration (mostly suitable for every use case). false