arx 移动界面到一点 arx 移动界面到一点

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);

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);

猜你喜欢

转载自www.cnblogs.com/mjgw/p/12347867.html