#include <ModelAPI_Data.h>
#include <ModelAPI_Document.h>
#include <ModelAPI_Object.h>
#include <ModelAPI_ResultBody.h>
#include <ModelAPI_Data.h>
#include <ModelAPI_Document.h>
#include <ModelAPI_Object.h>
#include <ModelAPI_ResultBody.h>
const static std::string aShapeError =
"An error occurred while importing " + theFileName + ": " + anError;
setError(aShapeError);
const static std::string aShapeError =
"An error occurred while importing " + theFileName + ": " + anError;
setError(aShapeError);
std::string anObjectName = GeomAlgoAPI_Tools::File_Tools::name(theFileName);
data()->setName(anObjectName);
std::shared_ptr<ModelAPI_ResultBody> aResultBody = document()->createBody(data());
std::string anObjectName = GeomAlgoAPI_Tools::File_Tools::name(theFileName);
data()->setName(anObjectName);
std::shared_ptr<ModelAPI_ResultBody> aResultBody = document()->createBody(data());
//LoadNamingDS of the imported shape
loadNamingDS(aGeomShape, aResultBody);
//LoadNamingDS of the imported shape
loadNamingDS(aGeomShape, aResultBody);