Open LauraBolanos05 opened 2 years ago
I have the same problem. If you use refedit to open the block in autocad and save the block without acutally no operation, you could find that the autocad add an anonymous block to the file. Therefore, I think that might be the entity that lacks to dipslay as expected. I don't known how to solve it. Currently, I'll move the dimension out of my block.
About why the dimensions does not appear when embedded into a block, read this #342, you can also read #98 about other issues with dimensions inside blocks.
About why the change to the text height of the dimension style is not applied, read #375, a similar thing is happening when changing properties of the text style of the dimension style.
Hi there I had a list with the Coordenates to create a square but I want to show the dimension of the lines, Using this code I can show the dimensions doc.AddEntity(entity); doc.AddEntity(ad);
But when I put everything together into a Block the dimensions does not show... //block.Entities.Add(entity); //block.Entities.Add(ad); //Insert insert = new Insert(block); //doc.AddEntity(insert);
My final goal with this is to show the dimensions of the line with a specific width, in this moment the numbers look very small, I tried to change the height and width of the text using the AlignedDimension methods but anything had changed
Hope you can help me Regards
DxfDocument doc = new DxfDocument(); foreach (List _Coordenates in lst_Coordenates)
{
for (int i = 0; i < (_Coordenates.Count() - 1); i++)
{
Coordenates initial = _Coordenates[i];
Coordenates next = _Coordenates[i + 1];