The main use of Function:
_DMxDrawX::DrawDimDiametric
Draw a diameter dimension. Details are as follows:
parameter | Explanation |
---|---|
DOUBLE dChordPointX |
The first point is marked on the X value curve |
DOUBLE dChordPointY |
The first point is marked on the Y value curve |
DOUBLE dFarChordPointX |
On the curve labeled second point value X, the diametrically opposite point chordPoint |
DOUBLE dFarChordPointY |
The second point on the Y value of the curve is marked, the diametrically opposite point chordPoint |
DOUBLE dLeaderLength |
Input arrows length |
Implemented in C # code description:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
|
Show results:
Draw diameter dimensions by clicking a button, trigger DrawDimDiametric () event, CAD controls the viewport display to set a good diameter dimensions in C #. As shown below: