Hi,
I create two lines like:
var line1 = modelDoc.SketchManager.CreateLine(Xc, Yc, Zc, X1, Y1, Z1);
var line2 = modelDoc.SketchManager.CreateLine(Xc, Yc, Zc, X2, Y2, Z2);
where c, 1, 2 are MathPoints
What is the code to add the angular dimension between these two lines as soon as the lines are created?
Two additional things to achieve at runtime:
- the dimension text's location need to be at the center
- how to mark negative angle
SolidworksApi/macros