ChemAxon 587f88acea
23-06-2004 12:26:38
How can I add my own templates? There is an icon in the menu, but there is no help how I can do it?!
ChemAxon 7c2d26e5cf
23-06-2004 15:23:33
To add your structure to the my templates list in MarvinSketch application do the follows:
1. Draw a structure in the sketcher.
2. Select it.
3. Open the "My Templates" window by choosing Insert -> Templates -> My Templates menu item from the menubar.
4. Drag the selected structure from the sketcher into the "My Templates" window.
ChemAxon 7c2d26e5cf
23-06-2004 16:27:43
Developers using Marvin Beans or Marvin Applets can create templates for their users.
To customize the
Insert ->
Templates menu., use the tmpls parameter.
http://www.chemaxon.com/marvin/doc/dev/sketchman.html#parameters.tmpls
In the following applet example the "newtemplates.sdf" file is appended to the templates list. (The first four templates group in the example are the default ones in Marvin.)
Code: |
msketch_begin("../..", 460, 360);
msketch_param("tmpls0",":Generic:chemaxon/marvin/templates/generic.t");
msketch_param("tmpls1",":Rings:chemaxon/marvin/templates/rings.t");
msketch_param("tmpls2",":Amino acids:chemaxon/marvin/templates/aminoacids.t");
msketch_param("tmpls3",":Polycyclics:chemaxon/marvin/templates/polycyclics.t");
msketch_param("tmpls4",":New Templates:newtemplates.sdf");
msketch_end();
|
(You can create SDfiles using MarvinSketch or MolConverter.)
To place your templates on the toolbar as new buttons, use the xtmpls parameter.
http://www.chemaxon.com/marvin/doc/dev/sketchman.html#parameters.xtmpls