Dec 16, 2014 at 6:20 AM
Edited Dec 16, 2014 at 6:22 AM
version is 0.9.1
like this ：
//create a new dxf file and save it.
DxfDocument dxf = new DxfDocument();
Line line = new Line(new Vector2(0, 0), new Vector2(100, 100));
//load the dxf file
dxf = DxfDocument.Load(@"F:\temp.dxf");
//add the entity 'line' into a new block 'myblock'
Line theline = dxf.Lines;
Block bk = theline.Owner;
Block theblock = new Block("myblock");
but theline's owner is still '*Model_Space',how to set it's owner value?