Sketcher: Python interface to contraints' activated state

This commit is contained in:
Abdullah Tahiri
2019-06-22 06:42:21 +02:00
committed by abdullahtahiriyo
parent 7cd3dd7dc4
commit 7fad315613
2 changed files with 13 additions and 2 deletions

View File

@@ -707,6 +707,11 @@ Py::Boolean ConstraintPy::getInVirtualSpace(void) const
return Py::Boolean(this->getConstraintPtr()->isInVirtualSpace);
}
Py::Boolean ConstraintPy::getIsActive(void) const
{
return Py::Boolean(this->getConstraintPtr()->isActive);
}
PyObject *ConstraintPy::getCustomAttributes(const char* /*attr*/) const
{
return 0;