API Reference

Detailed and full API reference helps you master Tekla development

This is the most recent version of Tekla Open API.
For older versions, please visit Tekla Warehouse.

Meta.Microsoft.Help.Id
M:Tekla.Structures.Drawing.StraightDimension.#ctor(Tekla.Structures.Drawing.ViewBase,Tekla.Structures.Geometry3d.Point,Tekla.Structures.Geometry3d.Point,Tekla.Structures.Geometry3d.Vector,System.Double)

StraightDimension Constructor (ViewBase, Point, Point, Vector, Double)

Initializes a new instance of the StraightDimension class using "standard" attributes.

Namespace:  Tekla.Structures.Drawing
Assembly:  Tekla.Structures.Drawing (in Tekla.Structures.Drawing.dll) Version: 2020.0.0.0 (2020.0.55582.0)
Syntax
public StraightDimension(
	ViewBase targetView,
	Point startPoint,
	Point endPoint,
	Vector upDirection,
	double distance
)

Parameters

targetView
Type: Tekla.Structures.DrawingViewBase
The target view of the dimension.
startPoint
Type: Tekla.Structures.Geometry3dPoint
The start point of the dimension.
endPoint
Type: Tekla.Structures.Geometry3dPoint
The end point of the dimension.
upDirection
Type: Tekla.Structures.Geometry3dVector
The up direction.
distance
Type: SystemDouble
The height of the dimension.
See Also