User 37df300f74
31-07-2006 19:41:01
Hi:
I need to set CIS/TRANS info for a double bond, and tried to use setFlags() function like below but failed. As a result, "C/T?" was display for the double bond.
if(bond.getType()==2)
{
bond.setFlags((bond.getFlags() & ~MolBond.STEREO_MASK) | StereoConstants.CIS);
}
Can you kindly describe, in an example, how to use setFlags functions with Stero_MASK? The bottom line is not to display "C?T?" message in a molecule.
Thanks a lot
Hongzhou
I need to set CIS/TRANS info for a double bond, and tried to use setFlags() function like below but failed. As a result, "C/T?" was display for the double bond.
if(bond.getType()==2)
{
bond.setFlags((bond.getFlags() & ~MolBond.STEREO_MASK) | StereoConstants.CIS);
}
Can you kindly describe, in an example, how to use setFlags functions with Stero_MASK? The bottom line is not to display "C?T?" message in a molecule.
Thanks a lot
Hongzhou