Re: [OpenBabel-Devel] Multiple input files and API

2011-07-01 Thread Marianne
It work good now. If it is of any help for someone: *- string inputfilename="molfiles/*.mol"; vector inputfiles; DLHandler::findFiles(inputfiles,inputfilename); string filename="test.sdf"; vector outputfiles; outputfiles.push_back(filename); OBConversion conv; conv.SetInAndOutFormats("

Re: [OpenBabel-Devel] Multiple input files and API

2011-07-01 Thread Marianne
Thank you Chris for your answer. It is clear now. Marianne -- View this message in context: http://forums.openbabel.org/Multiple-input-files-and-API-tp3634074p3637974.html Sent from the openbabel-devel mailing list archive at Nabble.com.

Re: [OpenBabel-Devel] Multiple input files and API

2011-06-30 Thread Chris Morley
On 30/06/2011 12:55, Marianne wrote: > Ok, now I can use different input files with FullConvert. The code look like > that if it is of any help for someone: > > *- > string filename ="molfiles/1.mol"; > vector inputfiles; > inputfiles.push_back(filename); >

Re: [OpenBabel-Devel] Multiple input files and API

2011-06-30 Thread Marianne
Ok, now I can use different input files with FullConvert. The code look like that if it is of any help for someone: *- string filename ="molfiles/1.mol"; vector inputfiles; inputfiles.push_back(filename); filename ="molfiles/2.mol"; inputfil

[OpenBabel-Devel] Multiple input files and API

2011-06-29 Thread Marianne
Hello I am new to using the openbabel API and really exciting to use OB. I have an > existing C++ program in MSVC2008. I really like a lot and enjoy compute with this great API. But I have a look like small problem actually: I try to convert automatically different molfiles to fs file, and need