Vertical dimension bug
Posted: 15 Nov 2021, 12:30
Hello
I got a vertical CADDimension issue.
After creating a vertical dimension line, save it as a '.dwg' file and open it. However, if you edit one point on the dimension line, the dimension line itself is crushed.
I tried setting it in various ways and cloning the previously created vertical dimension line in Autocad LT 2020, saved it as a '.dwg' file and then, opened it, but the symptoms were the same.
Please check the below video URL.
https://youtu.be/2x0cTNh2C54
Can you let me know if you know the correct code for vertical CADDimension?
I got a vertical CADDimension issue.
After creating a vertical dimension line, save it as a '.dwg' file and open it. However, if you edit one point on the dimension line, the dimension line itself is crushed.
I tried setting it in various ways and cloning the previously created vertical dimension line in Autocad LT 2020, saved it as a '.dwg' file and then, opened it, but the symptoms were the same.
Code: Select all
CADDimension dimension = new CADDimension()
dimension.DefPoint = new DPoint(5000, 5000, 0);
dimension.LinDefPoint1 = new DPoint(0, 0, 0);
dimension.LinDefPoint2 = new DPoint(0, 10000, 0);
dimensionH.Layer = vLayer;
cadImage.Converter.Loads(dimensionH);
cadImage.Layouts[0].AddEntity(dimensionH);
https://youtu.be/2x0cTNh2C54
Can you let me know if you know the correct code for vertical CADDimension?