Why text of Dimension can't be aligned?

Jun 5, 2015 at 9:48 AM
Edited Jun 5, 2015 at 9:59 AM
I Create a DxfDocument, and set the DimensionStyles.
DxfDocument doc = new netDxf.DxfDocument(netDxf.Header.DxfVersion.AutoCad2007);
netDxf.Tables.DimensionStyle StandardDimStyle = doc.DimensionStyles["Standard"];
            StandardDimStyle.DIMDEC = (short)3;
            StandardDimStyle.DIMATFIT = 3;
            StandardDimStyle.DIMASZ = ...;
            StandardDimStyle.DIMTXT = ...;
then I create a DiametricDimension, and add it into the DxfDocument
DiametricDimension  d1 = new DiametricDimension (vector1, vector2, offset);
doc.AddEntity(d1 );
and it look like this
Is there any error usage of the code above?
Jun 8, 2015 at 3:25 PM
The variables of dimension style that govern the text placement are not implemented. Your best option, at the moment, is to modify the position and orientation of the MTEXT entity of the block associated with the diametric dimension, or modify manually the code that generates the dimension drawing.