atom coloring problem involving MDocument.setAtomSetRGB()

User e469f67125

14-09-2009 21:37:59

The attached code creates a PNG image of a molecule.  With JChem 5.2.0, smarts matched ring atoms are colored red and non matched atoms are black.  But in subsequent versions including 5.2.02 and 5.2.04 the atom coloring fails and the molecule is depicted normally.  Methods used include MDocument.setAtomSetRGB() and MolAtom.setSetSeq(), as shown in http://www.chemaxon.com/jchem/marvin/help/developer/core/sets.html.


 

ChemAxon e500b51457

18-09-2009 08:07:27

 


Hello,


Please use the "png:setcolors" option at image
export to apply atom/bond set coloring.


More information about image export options is available:


http://www.chemaxon.com/marvin/help/formats/images-doc.html


Best regards,


Erika.