In this example the handling of template groups by parameters is introduced.
A new template group, Conformers is defined with the
tmpls11 parameter.
To make it visible on the template toolbar by default, it should have been set with the ttmpls11 parameter.
Wedge bonds are added as extra templates with the xtmpls parameter.
Template group visibility is controlled with the combination of tmpls and ttmpls parameters.
Generic and Rings groups are made visible by using the ttmpls parameter.
For more information on template groups please visit this link.
<script type="text/javascript" SRC="../../../marvin.js"></script> <script type="text/javascript"> <!--msketch_begin("../../..", 580, 480); msketch_param("molbg", "#ffffff"); msketch_param("ttmpls0", "*Generic*chemaxon/marvin/templates/generic.t"); msketch_param("ttmpls1", "*Rings*chemaxon/marvin/templates/rings.t"); msketch_param("xtmpls", "chemaxon/marvin/templates/wedgebonds.t"); msketch_param("tmpls11", ":Conformers:chemaxon/marvin/templates/conformers.t"); msketch_end();//--> </script>
The next example demonstrates the customization of abbreviated groups.