Sketcher: Extend SketchObject to handle constraint state

This commit is contained in:
Abdullah Tahiri
2019-06-22 06:43:48 +02:00
committed by abdullahtahiriyo
parent 3e72246e9f
commit 3a47e27ce4
2 changed files with 65 additions and 0 deletions

View File

@@ -179,6 +179,13 @@ public:
/// toggle the driving status of this constraint
int toggleDriving(int ConstrId);
/// set the driving status of this constraint and solve
int setActive(int ConstrId, bool isactive);
/// get the driving status of this constraint
int getActive(int ConstrId, bool &isactive);
/// toggle the driving status of this constraint
int toggleActive(int ConstrId);
/// Make all dimensionals Driving/non-Driving
int setDatumsDriving(bool isdriving);
/// Move Dimensional constraints at the end of the properties array