/// Represents a linear dimension, measuring the distance between two points projected onto a line.
public class LinearDim : Element
{
// Constructors
public LinearDim() { }
public LinearDim(Plane3D plane, Vector3 extLine1, Vector3 extLine2, Vector3 dimLinePos, float textHeight) { }
// Important Properties
public Plane3D Plane { get; set; } // The plane on which the dimension lies.
public Vector3 ExtLine1 { get; set; } // The origin point for the first extension line.
public Vector3 ExtLine2 { get; set; } // The origin point for the second extension line.
public Vector3 DimLinePos { get; set; } // A point through which the dimension line passes.
public float TextHeight { get; set; } // The height of the primary dimension text characters.
public string TextOverride { get; set; } // Optional user-defined text override.
public string TextPrefix { get; set; } // Optional text prefix added before the dimension value.
public string TextSuffix { get; set; } // Optional text suffix added after the dimension value.
public string StyleName { get; set; } // Optional name of the text style to apply to the dimension text.
public float ArrowheadSize { get; set; } // The size (length) of the arrowheads.
public ArrowheadType LeftArrowhead { get; set; } // The type of arrowhead to display at the start of the dimension line.
public ArrowheadType RightArrowhead { get; set; } // The type of arrowhead to display at the end of the dimension line.
public float ExtLineOffset { get; set; } // The distance the extension lines are offset from their origin points.
public float ExtLineExt { get; set; } // The distance the extension lines extend beyond the dimension line.
public float TextGap { get; set; } // The gap between the dimension line and the dimension text.
public bool ShowExtLine1 { get; set; } // Controls whether the first extension line is displayed.
public bool ShowExtLine2 { get; set; } // Controls whether the second extension line is displayed.
public LinearUnitType LinearUnitFormat { get; set; } // Specifies the unit format for displaying the primary dimension value.
public int Precision { get; set; } // The number of decimal places displayed for the primary dimension value.
public bool SuppressLeadingZeros { get; set; } // Suppresses leading zeros in the primary dimension value.
public bool SuppressTrailingZeros { get; set; } // Suppresses trailing zeros in the primary dimension value.
public ToleranceDisplayMode ToleranceDisplay { get; set; } // Specifies how tolerance values are displayed.
public float ToleranceUpperValue { get; set; } // The upper tolerance value.
public float ToleranceLowerValue { get; set; } // The lower tolerance value.
public int TolerancePrecision { get; set; } // The number of decimal places displayed for tolerance values.
public bool ToleranceSuppressLeadingZeros { get; set; } // Suppresses leading zeros in tolerance values.
public bool ToleranceSuppressTrailingZeros { get; set; } // Suppresses trailing zeros in tolerance values.
public float ToleranceScaleHeight { get; set; } // Scaling factor for the height of tolerance text.
public float DimScaleOverall { get; set; } // Overall scale factor applied to dimension geometry features.
public float LinearScaleFactor { get; set; } // A scale factor applied to the measured linear value.
// Other Accessible Properties
public string LayerName { get; set; } // The name of the layer this element belongs to.
public string ColorARGB { get; set; } // Element color represented as an AARRGGBB hex string.
public PropertyMethod ColorMethod { get; set; } // Element color method.
public LineType? LineType { get; set; } // The line type for this element.
public float? LineTypeScale { get; set; } // The scale of the line type.
public PropertyMethod LineTypeMethod { get; set; } // Element line type method.
public float? LineWeight { get; set; } // The line weight for this element.
public PropertyMethod LineWeightMethod { get; set; } // Element lineWeight method.
public string MaterialName { get; set; } // The name of the material for this element.
public int? DisplayOrder { get; set; } // The element printing and displaying order.
public bool? IsVisible { get; set; } // The element visibility status.
}