TA的每日心情 | 开心 昨天 06:36 |
---|
签到天数: 15 天 [LV.4]偶尔看看III
管理员
- 积分
- 1308
|
- void createLayout()
- {
- AcDbDatabase *curDocDB =acdbHostApplicationServices()->workingDatabase();
- AcApLayoutManager *pLayM =(AcApLayoutManager*)acdbHostApplicationServices()->layoutManager();
- ACHAR* nextLayoutName = pLayM->getNextNewLayoutName(NULL);
- AcDbObjectId layoutId,btrId;
- pLayM->createLayout(nextLayoutName, layoutId, btrId);
- // 采用采用采用initialises AcDbLayout with appropriate defaults
- pLayM->setDefaultPlotConfig(btrId);
- // 采用采用采用采用setting as current layout
- pLayM->setCurrentLayout(nextLayoutName);
- pLayM->updateLayoutTabs();
- }
复制代码 |
|