Enable Python to read the value of a sketcher constraint
This commit is contained in:
committed by
Stefan Tröger
parent
c854915514
commit
91ab2987a7
@@ -503,6 +503,11 @@ void ConstraintPy::setName(Py::String arg)
|
||||
this->getConstraintPtr()->Name = arg;
|
||||
}
|
||||
|
||||
Py::Float ConstraintPy::getValue(void) const
|
||||
{
|
||||
return Py::Float(this->getConstraintPtr()->getValue());
|
||||
}
|
||||
|
||||
PyObject *ConstraintPy::getCustomAttributes(const char* /*attr*/) const
|
||||
{
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user