Open themrxcm opened 5 years ago
Viewport entities are only useful in Paper Space to open windows into the Model Space, and not to define the initial view of the drawing. Try the DxfDocument.Viewport but do not expect to much from it; personally I am interested in the actual drawing data rather than the initial view when it is opened.
Hi! I use method
new Viewport
and it doesn't work. I open dxf file on viewer, and position(center) is always the same. My code:Viewport viewport = new Viewport { Width = 250, Height = 250, Center = new Vector3(100, 100, 0), }; dxf.AddEntity(viewport);
Woh me edit position at model?