Assembly: Rename to setActiveBody and make link indeipendant Part initialization
This commit is contained in:
@@ -27,8 +27,11 @@
|
||||
#endif
|
||||
|
||||
#include <App/Document.h>
|
||||
#include <App/Plane.h>
|
||||
|
||||
#include "Part.h"
|
||||
#include "PartPy.h"
|
||||
|
||||
//#define new DEBUG_CLIENTBLOCK
|
||||
using namespace App;
|
||||
|
||||
@@ -36,13 +39,17 @@ using namespace App;
|
||||
PROPERTY_SOURCE(App::Part, App::GeoFeatureGroup)
|
||||
|
||||
|
||||
|
||||
//===========================================================================
|
||||
// Feature
|
||||
//===========================================================================
|
||||
|
||||
|
||||
const char* Part::BaseplaneTypes[3] = {"XY-Plane", "XZ-Plane", "YZ-Plane"};
|
||||
|
||||
Part::Part(void)
|
||||
{
|
||||
ADD_PROPERTY(Member,(0));
|
||||
ADD_PROPERTY(Type,(""));
|
||||
}
|
||||
|
||||
Part::~Part(void)
|
||||
@@ -59,6 +66,7 @@ PyObject *Part::getPyObject()
|
||||
return Py::new_reference_to(PythonObject);
|
||||
}
|
||||
|
||||
|
||||
// Python feature ---------------------------------------------------------
|
||||
|
||||
// Not quit sure yet makeing Part derivable in Python is good Idea!
|
||||
|
||||
Reference in New Issue
Block a user