Sketcher ToggleActiveConstraint/ru

Описание
allows you to activate and deactivate an already placed constraint. This allows you to keep the constraint in the background but temporarily test another arrangement of the existing geometry.

The tool is similar in that it disables the effect of the constraint; however, with this tool, the constraint does not keep its old value. On the other hand, with you can re-activate the old constraint immediately.

Применение

 * 1) Select an already placed constraint, then press.
 * 2) Alternatively, got to the task panel, to the  section, select the constraint, then open the context menu (right-click), and select.
 * 3) To activate the constraint again, select it, and press  again.

Примеры






Программирование
FreeCAD Scripting Basics.

The active status of a constraint can be controlled in macros and from the Python console.

Use the method of an existing Sketcher SketchObject, and the  of the constraint to activate it or deactivate it. The index starts from all the way to, where  is the total number of constraints.

Пример: