implement active body in PartDesign

This commit is contained in:
jriegel
2012-05-05 14:37:56 +02:00
committed by Stefan Tröger
parent e5f3fe18f6
commit 5b23d06cfe
15 changed files with 281 additions and 36 deletions

View File

@@ -0,0 +1,29 @@
#include "PreCompiled.h"
#include "Mod/Part/App/BodyBase.h"
// inclusion of the generated files (generated out of ItemPy.xml)
#include "BodyBasePy.h"
#include "BodyBasePy.cpp"
using namespace Part;
// returns a string which represents the object e.g. when printed in python
std::string BodyBasePy::representation(void) const
{
return std::string("<body object>");
}
PyObject *BodyBasePy::getCustomAttributes(const char* /*attr*/) const
{
return 0;
}
int BodyBasePy::setCustomAttributes(const char* /*attr*/, PyObject* /*obj*/)
{
return 0;
}