It work good now. If it is of any help for someone:
*---------
string inputfilename="molfiles/*.mol";
vector <string> inputfiles;
DLHandler::findFiles(inputfiles,inputfilename);
string filename="test.sdf";
vector<string> outputfiles;
outputfiles.push_back(filename);
OBConversion conv;
conv.SetInAndOutFormats("mol","sdf");
filename="test.sdf";
conv.AddOption("gen3D",conv.GENOPTIONS);
conv.FullConvert(inputfiles, filename,outputfiles);
--------*
--
View this message in context:
http://forums.openbabel.org/Multiple-input-files-and-API-tp3634074p3638031.html
Sent from the openbabel-devel mailing list archive at Nabble.com.
------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
OpenBabel-Devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbabel-devel