请问怎么获取当前窗口视域的角点?
GetCurrentView只能获取中心点,有什么方法能获取2个角点么? 通过系统变量再获取宽度(好像是高度),和长宽比,可以得到四个角点 Point2d m_ScrSize = (Point2d)AcadApp.GetSystemVariable("ScreenSize");double m_ViewHeight = (double)AcadApp.GetSystemVariable("ViewSize");
Point3d m_ViewCtrPt = (Point3d)AcadApp.GetSystemVariable("ViewCtr");
double m_ViewWidth = m_ViewHeight * m_ScrSize.X / m_ScrSize.Y;
再组成角点
页:
[1]