How to hide secondary structure?

User 39ade0cdf9

17-04-2008 14:55:36

Hi, I got a problem. When I set ShowSecondaryStructure mode, and use javascript to switch to MacroMolecule.Visible true mode, how to hide the old SecondaryStructure?








document.MSpaceApplet.setProperty("ShowSecondaryStructure",1);





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








document.MSpaceApplet.setProperty("ShowSecondaryStructure",0); //doesn't work, which parameter should be used?

User 39ade0cdf9

17-04-2008 15:00:44

here is the picture
liuhai wrote:
Hi, I got a problem. When I set ShowSecondaryStructure mode, and use javascript to switch to MacroMolecule.Visible true mode, how to hide the old SecondaryStructure?








document.MSpaceApplet.setProperty("ShowSecondaryStructure",1);





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








document.MSpaceApplet.setProperty("ShowSecondaryStructure",0); //doesn't work, which parameter should be used?

ChemAxon 909aee4527

17-04-2008 15:55:11

Hi,





this parameter was definitely missing!


Fortunately, the 5.0.3 patch release is out in a few days, it will be available there:


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



Kind regards,


Judit

User 39ade0cdf9

24-04-2008 02:38:21

Judit wrote:
Hi,





this parameter was definitely missing!


Fortunately, the 5.0.3 patch release is out in a few days, it will be available there:


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



Kind regards,


Judit
Thank you, the problem is settled using Marvin ver 5.0.3








document.MSpaceApplet.setProperty("ShowSecondaryStructure",1);


document.MSpaceApplet.setProperty("SecondaryStructure.Visible" , "true");








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


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

ChemAxon 909aee4527

24-04-2008 09:37:42

Thank you for the confirmation.

User 39ade0cdf9

09-09-2008 01:18:34

liuhai wrote:
Judit wrote:
Hi,





this parameter was definitely missing!


Fortunately, the 5.0.3 patch release is out in a few days, it will be available there:


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



Kind regards,


Judit
Thank you, the problem is settled using Marvin ver 5.0.3








document.MSpaceApplet.setProperty("ShowSecondaryStructure",1);


document.MSpaceApplet.setProperty("SecondaryStructure.Visible" , "true");








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


document.MSpaceApplet.setProperty("MacroMolecule.Visible" , "true" );
in lower version,you can delete lines like:


document.MSpaceApplet.setProperty("ShowSecondaryStructure",0);


document.MSpaceApplet.setProperty("ShowSecondaryStructure",1);





hiding secondary structure also works

ChemAxon 8b644e6bf4

10-09-2008 13:05:53

Hi,
Quote:
in lower version,you can delete lines like:


document.MSpaceApplet.setProperty("ShowSecondaryStructure",0);


document.MSpaceApplet.setProperty("ShowSecondaryStructure",1);





hiding secondary structure also works
Could you clarify which functionality is missing from the current version?





Regards,


Gabor

User 39ade0cdf9

10-09-2008 13:42:46

gimre wrote:
Hi,
Quote:
in lower version,you can delete lines like:


document.MSpaceApplet.setProperty("ShowSecondaryStructure",0);


document.MSpaceApplet.setProperty("ShowSecondaryStructure",1);





hiding secondary structure also works
Could you clarify which functionality is missing from the current version?





Regards,


Gabor
in MarvinSpace version 4.xxx, you can not hide secondary structure using:


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






but you can hide secondary structure by avoid writing lines like:


Code:
document.MSpaceApplet.setProperty("ShowSecondaryStructure",0);


document.MSpaceApplet.setProperty("ShowSecondaryStructure",1);






As for MarvinSpace 5.xxx, I seldom use that.





I hope for a Hydrogen bond perception function against pocket-ligand complex.

ChemAxon 8b644e6bf4

11-09-2008 09:15:20

Dear Liu Hai,
Quote:
I hope for a Hydrogen bond perception function against pocket-ligand complex.
Thank you for this suggestion. We are already planning the implementation of this feature in the future.





regards,


Gabor