Sketcher ConstrainVertical

Description
Creates a vertical constraint to the selected lines or polyline elements. As of it can also constrain vertices vertically. More than one object can be selected.

Usage

 * 1) Select the lines or vertices to be constrained vertically
 * 2) To invoke the vertical constraint command:
 * 3) * Press the.
 * 4) * Use the keyboard shortcut
 * 5) * Use the entry in the Sketch dropdown menu
 * 6) Alternatively, the tool can be started without prior selection, and it will expect a selection; but only lines will be selectable.
 * 7) Right-click or press  once, to exit the tool.

Scripting
The Scritping Sketcher constraints in Python page explains the values which can be used for and contains further examples on how to create constraints from Python scripts.