Open seppelhuang opened 1 year ago
var dxfDocument = DxfDocument.Load(@"E:\1.dxf"); dxfDocument.Viewport.ViewHeight = 100000; dxfDocument.Viewport.ViewCenter = new Vector2(0, 0);
dxfDocument.Save("E:\\"2.dxf");
after modifying viewport
dxf.zip
You are using AutoCad, aren't you? You must regenerate your drawing, "regen" command.
var dxfDocument = DxfDocument.Load(@"E:\1.dxf"); dxfDocument.Viewport.ViewHeight = 100000; dxfDocument.Viewport.ViewCenter = new Vector2(0, 0);
after modifying viewport
dxf.zip