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