diff --git a/src/App/PropertyExpressionEngine.cpp b/src/App/PropertyExpressionEngine.cpp index 351c0f8c0..c0e5dafec 100644 --- a/src/App/PropertyExpressionEngine.cpp +++ b/src/App/PropertyExpressionEngine.cpp @@ -739,3 +739,13 @@ std::set PropertyExpressionEngine::getPaths() const return result; } + +PyObject *PropertyExpressionEngine::getPyObject(void) +{ + Py_Return; +} + +void PropertyExpressionEngine::setPyObject(PyObject *) +{ + throw Base::RuntimeError("Property is read-only"); +} diff --git a/src/App/PropertyExpressionEngine.h b/src/App/PropertyExpressionEngine.h index 3da8902f1..078725b0d 100644 --- a/src/App/PropertyExpressionEngine.h +++ b/src/App/PropertyExpressionEngine.h @@ -120,6 +120,10 @@ public: void slotObjectRenamed(const App::DocumentObject & obj); + /* Python interface */ + PyObject *getPyObject(void); + void setPyObject(PyObject *); + private: typedef boost::adjacency_list< boost::listS, boost::vecS, boost::directedS > DiGraph;