The main use of Function:
_DMxDrawX::DrawDimAligned
Draw a label alignment. Details are as follows:
parameter | Explanation |
---|---|
DOUBLE dExtLine1PointX |
The first line starting point value X |
DOUBLE dExtLine1PointY |
The first line start point Y value |
DOUBLE dExtLine2PointX |
The second line starting point value X |
DOUBLE dExtLine2PointY |
The second line start point Y value |
DOUBLE dTextPositionX |
Defining points used to specify the dimension line labeled X value position |
DOUBLE dTextPositionY |
Specify the location denoted by dimension line is defined using the value of point Y |
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 22 |
|
Show results:
Draw aligned dimension by clicking a button, trigger DrawDimAligned () event, CAD controls the viewport display to set a good alignment mark in C #. As shown below: