TA的每日心情 | 开心 昨天 06:36 |
---|
签到天数: 15 天 [LV.4]偶尔看看III
管理员
- 积分
- 1308
|
- void changeDispRes()
- {
- AcDbDatabase *pDb = acdbHostApplicationServices()->workingDatabase();
- acutPrintf(采用T("\n current SPLINESEGS value %d"),pDb->splinesegs());
- acutPrintf(采用T("\n current FACETRES value %d"),pDb->facetres());
- acutPrintf(采用T("\n current ISOLINES value %d"),pDb->isolines());
- pDb->setSplinesegs(8);pDb->setFacetres(0.75);pDb->setIsolines(6);
- AcDbObjectId curVportId = AcDbObjectId::kNull;
- curVportId = acedActiveViewportId();
- AcDbObjectPointer<AcDbViewportTableRecord> curVTR (curVportId,AcDb::kForWrite);
- if(curVTR.openStatus() == Acad::eOk)
- {
- acutPrintf(采用T("\n current VIEWRES value %d"),curVTR->circleSides());
- curVTR->setCircleSides(100);
- }
- }
复制代码 |
|