"Combo" Reaction tool in Marvin Sketch as in MarvinJS

User 646de8ab9c

13-05-2015 09:07:30

Hi,


I am using a lot MarvinJS and there is in MarvinJS a "Combo" reaction tool that allow to draw as many "+" reactions sign as we want (idem for the reaction arrow). As I want to transfer schemes from Marvin Sketch to MarvinJS, and as I like the way the "Combo" reaction tool is working, is-it possible to have this combo tool in Marvin Sketch?


Thanks in advance,


Lionel

ChemAxon f052bdfe3c

14-05-2015 08:54:13

Hi Lionel,


I am glad that you like the reaction tool in Marvin JS. We are considering to apply the same method in MSketch as well, however -because we are working on other developments- unfortunately I cannot promise it in the near future.


Best regards,


Efi

User 870ab5b546

17-05-2015 10:43:33

Hi Lionel, I'm not sure I understand your question. Both MarvinJS and MarvinSketch can depict both the reaction arrow (of which you can have only one in a drawing) and the graphical arrow (can have more than one). (Interestingly, the latest version of MarvinJS no longer automatically draws a + symbol in front of a reaction arrow like it used to do and like MarvinSketch does.) You can load a MarvinSketch drawing with a reaction arrow into MarvinJS, and you can load a MarvinSketch drawing with one or more graphical arrows into MarvinJS. 


Perhaps what you want to do is convert a reaction arrow into a graphical arrow, so you can add more arrows to a scheme? A nice new feature of MarvinJS is that if you already have a reaction arrow in a drawing, you can add a new arrow, and MarvinJS automatically converts both arrows into graphical arrows; in other words, in MarvinJS, you no longer need to worry, at least in terms of appearance, whether a single arrow in a drawing is a reaction arrow or a graphical arrow.


In MarvinSketch, there does not appear to be a way to convert a reaction arrow into a graphical arrow, or vice versa. However, you could probably do it with JChem Java methods. (I think you have heard that before....)

User 646de8ab9c

18-05-2015 07:49:54

Hi Bobgr,


 


In fact, with the MarvinJS tool, I can draw multiple reactions in a single scheme and I can put "+" sign where there are needed.


With the tool of MarvinSketch I can draw only 1 reaction/1 arrow, and depending where the arrow is drawn, the "+" sign will be added automatically. If I use graphical arrows, I cannot add "+" sign where I want.


 


Hi Efi,


Thanks for your answer, but this is for me problematic because at final we cannot draw in a single scheme, multiple reactions.


Can you at least think to add a "+" graphical sign, like it exist Graphical arrows?


Thanks in advance,


Lionel

User 870ab5b546

19-05-2015 08:06:49

You can use a textbox to add a + sign wherever you want in MarvinSketch. Granted, it's not as convenient as having Marvin add them for you, but you can do it. Once you draw one + sign, you can copy it and paste it all around your canvas.

User 646de8ab9c

20-05-2015 09:50:05

It could be a solution but:


- not as intuitive for the end user as the specific "reaction tool" in MarvinJS


- not the same display between the "+" sign in Text in MarvinSketch and with combo tool in MarvinJS


- you can copy-paste from MarvinSketch to MarvinJS: "+" sign and arrows are automatically transformed


BUT you cannot copy-paste from MarvinJS to MarvinSketch: the "+" sign and the arrow are not paste

User 870ab5b546

20-05-2015 11:56:00

You can make the + signs appear the same by adjusting the font size and boldness. 


The other complaints are all true. Marvin JS and MarvinSketch are not completely interchangeable.

ChemAxon f052bdfe3c

22-05-2015 12:00:52

`BUT you cannot copy-paste from MarvinJS to MarvinSketch: the "+" sign and the arrow are not paste`


Please open the save dialog in Marvin Js then choose Marvin Document format. You can copy the MRV source from the box and with Ctrl+C than simple paste it with Ctrl+V to the MSketch canvas. I agree it is not the most convenient way, but it can be done.


Best regards,


Efi


 

User 646de8ab9c

22-05-2015 13:08:41

Thanks for the trick.


As in MarvinJS, can we create in MarvinSketch our own button in the tool bar to automatically draw the + sign?

ChemAxon 5433b8e56b

22-05-2015 13:24:45

Hi,


unfortunatelly there is  not any possibility to define actions to MarvinSketch from outside the component, as with Marvin JS.


But you have the possibility to define a custom template that contains a plus sign. It can not be added by dragging to the My Templates, but you can add it to the toolbar with the following steps:


- draw and set the appearance of the plus sign in a textbox in MarvinSketch
- save the structure as an mrv file
- open "Insert>Template" menu
- on the dialog press the "Add Template Set" button (top left button)
- add the file as a new template set
- select the template set you have added, and on the right side of the dialog switch to the properties panel
- check the "Display on Toolbar" checkbox
- if the plus sign does not appear automatically, push the reload button
- Close the dialog, the changes are saved.


Be awarre the fact that MarvinSketch will use the file you saved any time it starts up, so do not delete it, otherwise the plus sign template will disapear. (As a best practice I would suggest to save it into the chemaxon folder in your  user home directory.)


I hope this helps.


Best regards,
Istvan 

ChemAxon 5433b8e56b

22-05-2015 13:28:51

I have to admit, when you select the plus sign from the toolbar it will have an odd position considering the mouse pointer. We will do maintenance and changes in this area of the MarvinSketch codebase in the following months according to our current development plans, I assume we will fix it at some point along with that developments.


But besides this odd position thing the plus sign in a textbox as a template works for me.


Regards,
Istvan 

User 646de8ab9c

19-06-2015 09:30:12

Thanks for the trick, even if typing the "+" sign in a text box is near sa fast as with the template shortcut, and without the odd position.


Thanks for your help,


Lionel