Display 3D sd file as 2D in MarvinView Applet

User 35f81bd810

04-10-2007 16:23:37

How do you display a 3D structure as a 2D depiction in the MarvinView applet?





I've tried things like:





<param NAME="cleanDim" VALUE="2">


<param NAME="cleanOpts" VALUE="O2">





or





<param NAME="clean2dOpts" VALUE="O2">





and their various incarnations.





Thanks.

ChemAxon 7c2d26e5cf

05-10-2007 23:26:34

Add the importconv parameter to the parameter list (to define import options by loading the molecule):


Code:
mview_begin("../..", 200, 200);


mview_param("mol", "../../mols-3d/suprofen.mol");


mview_param("importConv","c");


mview_param("cleanDim","2");


mview_param("cleanOpts","O2");


mview_end();

User 35f81bd810

08-10-2007 16:42:13

Thanks. That works great.





For whatever reason, I found that





mview_param("cleanOpts","O1");





gives better depictions than





mview_param("cleanOpts","O2");





Cheers.