36 lines
874 B
C++
36 lines
874 B
C++
|
|
#include "PreCompiled.h"
|
|
|
|
#include "DrawProjGroupItem.h"
|
|
|
|
// inclusion of the generated files (generated out of DrawProjGroupItemPy.xml)
|
|
#include <Mod/TechDraw/App/DrawProjGroupItemPy.h>
|
|
#include <Mod/TechDraw/App/DrawProjGroupItemPy.cpp>
|
|
|
|
using namespace TechDraw;
|
|
|
|
// returns a string which represents the object e.g. when printed in python
|
|
std::string DrawProjGroupItemPy::representation(void) const
|
|
{
|
|
return std::string("<DrawProjGroupItem object>");
|
|
}
|
|
|
|
PyObject* DrawProjGroupItemPy::autoPosition(PyObject *args)
|
|
{
|
|
(void) args;
|
|
DrawProjGroupItem* item = getDrawProjGroupItemPtr();
|
|
item->autoPosition();
|
|
Py_INCREF(Py_None);
|
|
return Py_None;
|
|
}
|
|
|
|
PyObject *DrawProjGroupItemPy::getCustomAttributes(const char* /*attr*/) const
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
int DrawProjGroupItemPy::setCustomAttributes(const char* /*attr*/, PyObject* /*obj*/)
|
|
{
|
|
return 0;
|
|
}
|