TechDraw Dimension Horizontal Extent

From FreeCAD Documentation
Jump to navigation Jump to search
Other languages:
Deutsch • ‎English • ‎français • ‎italiano

TechDraw Dimension Horizontal Extent.svg TechDraw Dimension Horizontal Extent

Menu location
TechDraw → Dimension Horizontal Extent
Default shortcut
Introduced in version
See also
TechDraw Dimension Length, TechDraw Dimension Vertical Extent


The Dimension Horizontal Extent tool adds a linear dimension to a View. The dimension extends from the left most point on the selected objects to the right most point. A CosmeticVertex will be placed at each point.

TechDraw Dimension Horizontal Extent example.png

Horizontal Extent dimension of BSpline Face

How to use

  1. Select a View or a collection of Edges in a View.
  2. Press the TechDraw Dimension Horizontal Extent.svg Dimension Horizontal Extent button
  3. A dimension will be added to the View. The dimension may be dragged to the desired position.


Dimension objects are vulnerable to "topological naming" issues. See the information in the TechDraw Dimension Length.svg TechDraw Dimension Length tool for more information.


This object has the same properties as the TechDraw Dimension Length tool. See that tool for details. Exceptions noted.


  • DataMeasureType: true - based on 3D geometry or "Projected" - based on the drawing. Not normally manipulated directly by the end user. Not yet implemented for Dimension Horizontal Extent.


See also: TechDraw API and FreeCAD Scripting Basics.

The Dimension Horizontal Extent tool can be used in macros and from the Python console by using the following functions:

selection = [(view1, 'Edge1'), (view1, 'Edge2')]  #or [] for all
hExtentDim = TechDraw.Dimension.makeExtentDim(selection, HORIZONTAL)
rc = page.addView(hExtentDim)