MolAtom.setProperty()

User 870ab5b546

27-12-2008 20:52:57

It would be useful to have a property attribute for MolAtoms as well as for Molecules. We could use it, for example, to set the number of unshared electrons on each atom, rather than keeping a separate parallel array.

ChemAxon 7c2d26e5cf

28-12-2008 11:12:03

We will consider your request.

ChemAxon e500b51457

12-01-2009 09:02:57

Dear Bob,


To add data to an atom we have a few possibilities:


- DataSgroup if the molecule is not modified very often and there is a need to display and save the data.


- MolAtom.setQProp if there is no need to display and save the data.


- MolAtom.setExtraLabel for String values.


Are any of these possibilities suitable?


Best regards,


Erika.

User 870ab5b546

12-01-2009 13:05:14

I wouldn't want to use setQProp() because I wouldn't want to mess up any searches. There doesn't appear to me to be a way to associate a DataSGroup with a particular atom in a molecule. setExtraLabel() works only if there's only one property to set (unless one resorts to a lot of String manipulations).





So I can use setExtraLabel() as a workaround, but I would rather see a setAtomProperty(String, String) method.

ChemAxon e500b51457

15-01-2009 08:57:00

We have added the request to our feature request list, but we don't have capacity for this before version 5.2.


We will consider the request among the other feature requests for verson 5.3.





Best regards,


Erika.

ChemAxon e500b51457

18-01-2011 09:16:20

Hi Bob,


We would like to inform you that the following methods are available to handle general atom
properties in MolAtom:



http://www.chemaxon.com/marvin/help/developer/beans/api/chemaxon/struc/MolAtom.html


Regards,


Erika

User 870ab5b546

18-01-2011 14:08:56

Thanks, these methods will be helpful.

User 870ab5b546

20-09-2011 15:09:11

Any chance of you doing the same for MolBonds as well?

ChemAxon e500b51457

22-09-2011 12:44:40

Hi Bob,

We have added the request for MolBond-properties to our feature request list.

Regards,
Erika.

ChemAxon 712bc8fcf4

24-04-2012 11:37:09

Hi Bob,


The same methods will be available for the MolBond in the version 5.10.


Regards,


Mate