I wonder if anyone uses it. If the new interface is implemented, I guess getPropertyByName can be marked deprecated, and be eventually removed.
How to Constrain Custom Length Property With Lower and Upper Bound?
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Be nice to others! Respect the FreeCAD code of conduct!
Re: How to Constrain Custom Length Property With Lower and Upper Bound?
We could also add getPropertyValueByName and getPropertyObjectByName, and deprecate getPropertyByName in favor of getPropertyValueByName.
In the mean-time, I suppose if I really wanted to set lower and upper bounds, then I could use PropertyFloatConstraint.
I would just weigh the desire for custom bounds against the desire for units.
---
Thanks again for being so responsive. I appreciate the insight.