Bitbybit Docs
    Preparing search index...

    Class LinearDimensionEntity (Advanced.Dimensions)

    A linear dimension ready to draw, returned by advanced.dimensions.linearDimension: the LinearDimensionDto properties plus the markers by which draw.drawAnyAsync recognizes it.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    startPoint: Bit.Inputs.Base.Point3

    First point measured; an extension line runs from it to the dimension line.

    [0, 0, 0]
    
    endPoint: Bit.Inputs.Base.Point3

    Second point measured. The value shown is its straight-line distance from startPoint, not a distance along any axis.

    [1, 0, 0]
    
    direction: Vector3

    Shift from the measured points to the dimension line; its length is how far the line sits from them, in model units, and it also scales the style's extensionLineLength.

    [0, 1, 0]
    
    labelOffset: number

    Distance in model units from the middle of the dimension line to the label, further along direction.

    0.1
    

    0

    Infinity

    0.1

    decimalPlaces: number

    Digits after the decimal point in the label.

    2
    

    0

    10

    1

    labelSuffix: string

    Text after the value, separated by a space. Lengths are in model units, so mm is only a label.

    mm
    
    labelOverwrite: string

    Label expression where val is the measured value: arithmetic such as val/25.4 is evaluated, while other text such as Width val shows the rounded value in place of val.

    1*val
    
    removeTrailingZeros: boolean

    Drops zeros at the end of the rounded value, so 2.50 reads 2.5 and 3.00 reads 3.

    false
    

    Look of the lines, arrowheads and label; leave it out for the defaults of DimensionStyleDto.

    undefined
    

    true

    type: string
    entityName: string