Get structure values using custom button

User 4f3657cc2f

08-12-2009 20:25:28

We have integrated Marvin sketch in a web page, 'Mass' and 'Dot-disconnected formula' can be viewed for drawn sketch using:


Marvin Sketch -> Tools -> Elemental Analysis (choose “Mass” and “Dot-disconnected Formula”)


But how can we get these values using a custom button, so that when ever user click this button after drawing sketch both above values for sketch can be displayed.


Thanks in advance.

ChemAxon 990acf0dec

09-12-2009 11:35:48

Hi,


Please check the following example implementation. Here the chemical properties are calculated using Chemical Terms, and are updated automatically as you modify the structure:


http://www.chemaxon.com/marvin/examples/applets/sketch/chemicalterms2.html


I hope this helps.


Best regards,


Akos

User 4f3657cc2f

09-12-2009 18:09:34

Thanks Akons

User 4f3657cc2f

03-02-2010 08:59:20

Hi,


Thanks for response on previous post, I wish to get the molecular formula too using code. Is it possible? how can I get it?


Thanks in advance.

ChemAxon 990acf0dec

03-02-2010 10:51:28

Hi,


Please see the available chemical term functions here:


http://www.chemaxon.com/marvin/help/chemicalterms/EvaluatorFunctions.html


A number of formula functions are available among the Elemental Analysis Functions:


- formula()


- dotDisconnectedFormula()


- isotopeFormula()


- dotDisconnectedIsotopeFormula()


Best regards,


Akos