User e951339c43
10-06-2011 13:41:04
Hi, I was wondering if there is a way to turn the absolute stereo label on programmatically. I have searched this forum and the closest I could find was this thread. However there has been no follow up on the subject since 2006 and I was wondering if this has been addressed.
The "Absolute" label can be turned on in MarvinSketch by invoking Options -> Show Absolute Labels as shown in the screenshot. I would like to have an API that I can access in my Swing app. Specifically,
- An option passed to MDocument or MolPrinter to look at the corresponding bit of the MOL block header to render a text label when the structure is chiral
- An option for me to set the textual of the label to a string I want to use, e.g. Chiral as opposed to Absolute
Is this something that can be supported?
Thanks,
Ning Yu