Attacher: Py: withdraw positionBySupport from Part2DObject

to be reintroduced later in AttachableObjet Py interface
This commit is contained in:
DeepSOIC
2016-05-06 16:50:11 +03:00
parent 162378220d
commit 897a66cbb7
2 changed files with 0 additions and 24 deletions

View File

@@ -16,23 +16,6 @@ std::string Part2DObjectPy::representation(void) const
return std::string("<Part::Part2DObject>");
}
PyObject* Part2DObjectPy::positionBySupport(PyObject *args)
{
if (!PyArg_ParseTuple(args, ""))
return 0;
bool bAttached = false;
try{
bAttached = this->getPart2DObjectPtr()->positionBySupport();
} catch (Standard_Failure) {
Handle_Standard_Failure e = Standard_Failure::Caught();
PyErr_SetString(PartExceptionOCCError, e->GetMessageString());
return NULL;
} catch (Base::Exception &e) {
PyErr_SetString(Base::BaseExceptionFreeCADError, e.what());
return NULL;
}
return Py::new_reference_to(Py::Boolean(bAttached));
}
PyObject *Part2DObjectPy::getCustomAttributes(const char* /*attr*/) const