Dim center(0 To 2) As Double Dim chordPoint(0 To 2) As Double Dim leaderLen As Integer center(0) = 120 center(1) = L * Sin(3.1415926 / 6) / (2 * 2 * Cos(3.1415926 / 6)) + b2 + GF / (2 * Cos(3.1415926 / 6)) center(2) = 0 chordPoint(0) = 120 - R * Cos(3.1415926 / 3) / 2 chordPoint(1) = L * Sin(3.1415926 / 6) / (2 * 2 * Cos(3.1415926 / 6)) + b2 + GF / (2 * Cos(3.1415926 / 6)) - R * Sin(3.1415926 / 3) / 2 chordPoint(2) = 0 leaderLen = 0 Set xxbzObj = ThisDrawing.ModelSpace.AddDimRadial(center, chordPoint, leaderLen) xxbzObj.TextOverride = R xxbzObj.Update
是这么写得,就是修改不了半径尺寸 |