Technical Support Forum Index
Technical Support Forum
Access ChemAxon scientists and developers here. For confidential or other support please email.
The time now is Mon Sep 08, 2008 5:20 am
 <b>Register</b> (required to post and download)Register (required to post and download)
 Username:    Password:   Remember login       
 FAQFAQ   SearchSearch   DigestsDigests 
emf output and borders around labels
To watch this topic for replies  Register (enables digests) or give email address:
Reply to topic    Home -> Forums -> Support -> Structure editing, viewing and file formats -> emf output and borders around labels

Display posts from previous:        View previous topic :: View next topic    
Author Message
cees
Joined: 25 Sep 2006
Posts: 4


View user's profile



Back to top
Post subject: emf output and borders around labels
Link to postPosted: Mon Jan 14, 2008 2:06 am  Reply with quote

fwiw
I was having difficulties producing emf output with mol.toBinFormat
It was always drawing a border around the atom labels and the whole structure (even when using jchem 5.0 now)
I just manually upgraded the freehep*.jar in jchem/lib to the latest version (2.1.1) and voila, perfect emf output.

Is it possible to bundle the next jchem distribution with the latest freehep's :-)
Tamas
Joined: 21 May 2004
Posts: 1301
ChemAxon personnel

View user's profile



Back to top
Post subject:
Link to postPosted: Mon Jan 14, 2008 1:25 pm  Reply with quote

Thanks for the info.
We will evaluate new Freehep and update it in Marvin /JChem ASAP.
Judit
Joined: 04 Nov 2004
Posts: 390
ChemAxon personnel

View user's profile

Visit poster's website

Back to top
Post subject:
Link to postPosted: Wed Mar 26, 2008 11:33 am  Reply with quote

For your information: Freehep 2.1.1 is used from Marvin 5.0.1.
charliezhu
Joined: 31 Jul 2005
Posts: 1


View user's profile

Visit poster's website

Back to top
Post subject:
Link to postPosted: Thu Apr 03, 2008 4:43 am  Reply with quote

I have checked that my version of freehep is 2.1.1, but the atom labels still appears. Did I miss any parameter when using molconvert.bat?

It seems that if I remove below lines from the mol file, the labels gone.

V 1 0
V 2 1
V 3 2
V 4 3
V 5 4
V 6 5
V 7 6
V 8 7
V 9 8

[/img]



 Filename: b08022.png    Filesize: 4.17 KB    Viewed: 1562 Time(s)
 Description:  
b08022.png
Tamas
Joined: 21 May 2004
Posts: 1301
ChemAxon personnel

View user's profile



Back to top
Post subject:
Link to postPosted: Fri Apr 04, 2008 6:57 pm  Reply with quote

I have drawn the given structure into MarvinSketch then saved it and finally converted it into EMF with MolConverter. See the attached EMF file.
As you see, both atom labels and atom numbers are displayed.
I have called Molconverter with the following parameters:
Code:
molconvert.bat emf:w400,h400,anum emfexample.mrv -o emfexample.emf


I have used the latest Marvin (5.0.2_1) that is already use Freehep 2.1.1.
If labels do not display fine with your Marvin please check that you really use the latest one.
Run "MolConvert" without parameters, in this case the quick help of the application will be printed where the version number of the running MolConverter is also shown.
Please also check whether an earlier version of jchem.jar, MarvinBeans.jar or any jar from freehep API has rested in your CLASSPATH or not. If yes, remove them to avoid loading classes for new Marvin from old jars.



 Filename: emfexample.emf    Filesize: 8.45 KB    Viewed: 1539 Time(s)
 Description:  your structure in EMF
emfexample.emf
Display posts from previous:   
Reply to topic    Home -> Forums -> Structure editing, viewing and file formats -> emf output and borders around labels All times are GMT + 1 Hour
Page 1 of 1
To watch this topic for replies   Register (enables digests) or give email address  
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum