About Surface

User 39ade0cdf9

26-09-2008 02:05:07

I found that parameter ColorType:ElectrostaticPotential won't work.


Both in ver 4.1.8 and ver 5.1.1.





Code:
document.MSpaceApplet.setProperty("Surface.ColorType","ElectrostaticPotential");





document.MSpaceApplet.setProperty("Surface.Palette","Blue to Red");









and how to hide MacroMolecule when Rendering surface?


Code:
document.MSpaceApplet.setProperty("MacroMolecule.Visible" , "false" );



this applet will make surface invisible too.

ChemAxon 8b644e6bf4

01-10-2008 12:25:04

Dear Liu Hai,





Thank you for the bug report. I was able to reproduce the error with the electrostatic potential display functionality. Checking it takes a bit more time, i will notify You in this forum with the results.





Hiding macromolecule (without hiding the surface) worked for me (used the structure from http://chemaxon.com/marvin/examples/applets/space/secondary.html ). Could you please send us the structure (if it is not confidential) which produced this error?








regards,


Gabor

User 39ade0cdf9

27-10-2008 07:54:44

gimre wrote:
Dear Liu Hai,





Thank you for the bug report. I was able to reproduce the error with the electrostatic potential display functionality. Checking it takes a bit more time, i will notify You in this forum with the results.





Hiding macromolecule (without hiding the surface) worked for me (used the structure from http://chemaxon.com/marvin/examples/applets/space/secondary.html ). Could you please send us the structure (if it is not confidential) which produced this error?








regards,


Gabor
Thanks


when I use the codes below, hiding macromolecule works.


"ShowSurface","Connolly" is the key.








Code:
document.MSpaceApplet.setProperty("ShowSurface","Connolly");





document.MSpaceApplet.setProperty("MacroMolecule.Visible" , "True" );


document.MSpaceApplet.setProperty("MacroMolecule.Quality" , "Low" );


document.MSpaceApplet.setProperty("Water.Visible" , "false" );





document.MSpaceApplet.setProperty("Surface.ColorType","ElectrostaticPotential");





document.MSpaceApplet.setProperty("Surface.DrawType","Solid");


document.MSpaceApplet.setProperty("Surface.Quality","Medium");