Linear Dimension <IvLinearDimension>

Synopsis

IvLinearDimension creates a linear dimension in an Inventor drawing.

Mixins

IvLinearDimensionModifier

IvCommonDimensionMixin

BaseInventorMixin

BasePart

Canonicals

Name Type Description
view part View that contains the parts to be dimensioned.
part1 part Part to be dimensioned.
entity1 string Name of an edge, surface or vertex of to be referenced.
textOrigin point Text origin of dimension value.

Parameters

Name Type Description
arrowheadsInside? boolean Should arrowheads be inside the leader lines?
CenterText? boolean Should the dimension text be centered?
color string Specifies the color to be used for the dimension. By default, controls both the dimension lines and the text.
ColorDimLines string Color of dimension lines. By default, the value of the 'color' parameter is used.
ColorText string Color of dimension value. By default, the value of the 'color' parameter is used.
dimStyle string Inventor dimensioning style to be used.
dimType name Dimension alignment, possible keywords: :vertical, :horizontal, :aligned, :arcLength, :symmetric, :diametric
entity2 string Name of edge, surface or vertex of the dimension should reference.
formattedText string Text to be placed on the drawing. The text should already be formatted. See format().
HorizontalJustification name Horizontal alignment of text, possible keywords are: :left, :center, :right.
Intent1 any Type of dimension point, possible keywords: :startPoint, :endPoint, :midPoint, :centerPoint, :circularLeftPoint, :circularRightPoint, :circularTopPoint, :circularBottomPoint.
Intent2 any Type of dimension point, possible keywords: :startPoint, :endPoint, :midPoint, :centerPoint, :circularLeftPoint, :circularRightPoint, :circularTopPoint, :circularBottomPoint.
ClosestPoint1, ClosestPoint2 point Points used to select the correct drawing curve on the view. In case of several curves representing the entity, the one closest to the point is selected. Measure of closeness is a distance from the point to the center of the curve's bounding box.
layer string Name of layer for the dimension.
lineSpacing number Line spacing
lineSpacingType name Type of line spacing, possible keywords are: :Multiple, :Exact.
part2 part Part the dimension should reference.
VerticalJustification name Vertical alignment of the text, possible keywords are: :upper, :middle, :lower.