Select whole drawing in AutoCAD without prompting user
问题 I'm trying to plot using "Window" as PlotType in AutoCad. This is the code: ViewBorder border = new ViewBorder(); Point3d first = new Point3d(border.Width, 0, 0); Point3d second = new Point3d(border.Height, 0, 0); Extents2d window = TransformCoordinates(first, second); psv.SetPlotWindowArea(ps, window); psv.SetPlotType(ps, Autodesk.AutoCAD.DatabaseServices.PlotType.Extents); The TransformCoordinates method only receives two Point3d arguments (x and y) and transform them from UCS to DCS