I want to write a function to explode all blocks of a document.
My problem is that I don't know what should I do to have access to the fields of each entities in the block.
For example, I would like to have the center point of the following circle in an block.
DxfDocument dxf = new DxfDocument();
Block myBlock = new Block("myBlock");
myBlock.Entities.Add(new Circle(Vector3.Zero, 5));
Insert myInsert = new Insert(myBlock, new Vector3(1, 1, 0));
and if I write it like this:
Block blk = dxf.Blocks;
EntityObject Ent = blk.Entities;
I wont be able to have access to the center point.
How should I write the code?
Also Thank you for your awesome library :)