arx 移动界面到一点

AcDbViewTableRecord view;
AcGePoint3d max = acdbHostApplicationServices()->workingDatabase()->extmax(),
min = acdbHostApplicationServices()->workingDatabase()->extmin();
view.setCenterPoint(AcGePoint2d(ptInsert.x, ptInsert.y));
view.setHeight(dHeight * 20);
view.setWidth(dHeight * 20);
acedSetCurrentView(&view, NULL);
acdbHostApplicationServices()->workingDatabase()->updateExt(TRUE);

posted @ 2017-09-13 16:01  xzh1993  阅读(273)  评论(0编辑  收藏  举报