Bond Length in Drawings

User 956e0ca334

03-01-2014 11:04:40

Hi there,


Happy new year to you!


I have had a request from our users of the Marvin applet.  In the Document Style settlings, format of the current document (see screen grab attached) .  When you select Apply changes for all atoms and bonds, you have the option of setting


Bond length:


Scale by        Median Bond


 


Our users would like to be able to do this when Apply changes for default atoms/bonds is selected, currently when this option is selected the Bond length options are disabled.  They would like it be set auctomatically in the applet on opening.  I would also need to to apply these settings on export using a format string such as:


 


               String formatString = ",atsiz0.6,"
                        + "atomFont:Times New Roman-PLAIN-12,"
                        + "bondw0.125,"
                        + "wireThickness0.055,"
                        + "stickThickness0.07,"
                        + "ballRadius0.35,"
                        + "H_hetero,"
                        + "anybond_solid,"
                        + "cv_inChain,"
                        + "#ffffff,"
                        + "ligandOrderVisibility_withDef,"
                        + "mono,"
                        + "aprop,"
                        + "downwedge_mdl,"
                        + "coordBondStyle_solid,"
                        + "coordBondStyleAtMulticenter_solid,"
                        +"lp,"
                        + "wireframe";


 


byte[] moldata = MolExporter.exportToBinFormat(doc, "png:"+ formatString);


 


Is this possible to achieve?


 


Thanks


Megan

ChemAxon f052bdfe3c

08-01-2014 11:02:07

Hi Megan,


Unfortunately, because of the way how this feature was originally implemented, we cannot fulfill this request in the near future. I created a task about it in our issue tracking system, and when this part of the program will be refactored, we will reconsider it.


Best Regards,


Efi

User 91639c5720

09-01-2014 17:43:20

Hi Efi,


Is it possible for you to LOAD a style that is user specific, so bond length can be changed to that requested by Megan?


Thanks


Trupti

ChemAxon f052bdfe3c

23-01-2014 13:02:14

Unfortunately, it is not posible. This information is not saved in style.


Best Regards,


Efi