The main module project is placed in the Components/OBJToolkit folder. The header with all the needed method declarations is OBJToolkit.h. To import an .obj file, create an OdObjImport object, call importFile() and you will have access to the groups and geometrical objects of OdObjDb:
OdObjImportPtr pObjImporter = OBJToolkit::createObjImporter();
pObjImporter->importFile(filePath, &importOptions);
OdObjDbPtr pObjDb = pObjImporter->getObjDb();The import sample is the Obj2Visualize project at Visualize/Examples/Obj2Visualize, and it can be tested in the Visualize Qt viewer (Visualize/Examples/qt-viewer) via File→Open→Obj.
An example of exporting .dwg to .obj is located in the Drawing/Examples/ExCustObjs project (in the function called _OBJExport_func). This is the OBJExport command of the OdaMfcApp sample application. Another example of exporting to OBJ from Visualize is the Visualize2Obj project, also reachable from the viewer's File→Export→Obj menu.