|
Draw types Color types |
MarvinSpace is capable of displaying small molecules, proteins, molecular surfaces and many more, and usually they have different display properties. The available properties are arranged hierarchicaly to be able to distinguish the range of the property.
The list of the available properties, their possible and default values can be found here.
In the previous example we used a small molecule as input data but in the current example there is a protein. The properties found in the previous example will not work here, at least they have to be modified a bit.
To modify the draw type and color type of proteins (or nucleic acid polymers) we used
document.MSpaceApplet.setProperty( "MacroMolecule.DrawType", document.DrawType.group1[i].value ); document.MSpaceApplet.setProperty( "MacroMolecule.ColorType", document.ColorType.group1[i].value );There are some special properties that does not have any qualifiers, for example
Quality,Depthcue, etc.