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,30 @@
#include "PreCompiled.h"
#include "Mod/PartDesign/App/Body.h"
// inclusion of the generated files (generated out of ItemPy.xml)
#include "BodyPy.h"
#include "BodyPy.cpp"
using namespace PartDesign;
// returns a string which represents the object e.g. when printed in python
std::string BodyPy::representation(void) const
{
return std::string("<body object>");
}
PyObject *BodyPy::getCustomAttributes(const char* /*attr*/) const
{
return 0;
}
int BodyPy::setCustomAttributes(const char* /*attr*/, PyObject* /*obj*/)
{
return 0;
}