Accessing Distance Calculation Method in LinearDim
Victor Nethesh
LinearDim A: Computes the distance along the Y-axis.
LinearDim B: Calculates the distance along the X-axis.
LinearDim C: Accurately determines the distance between two points along the line
i want to access along which direction the distance is calculated in code
is there a way
1
Comments
a linear dimensions use dim.ExtLine1 and dim.ExtLine2. 2 points that are not overlapping (the same) will always form a vector so it's your direction P2 - P1 = V. In other words :
var direction = dim.ExtLine2 - dim.ExtLine1;
Please sign in to leave a comment.