arx & c++ 常用函數代碼
























































































































































































































posted on 2006-02-08 14:08 夢在天涯 閱讀(2283) 評論(1) 編輯 收藏 引用 所屬分類: ARX/DBX
{C++ 基礎} {C++ 高級} {C#界面,C++核心算法} {設計模式} {C#基礎}
posted on 2006-02-08 14:08 夢在天涯 閱讀(2283) 評論(1) 編輯 收藏 引用 所屬分類: ARX/DBX
Finding the Active Viewports in Model Space
// Set some viewport information.
AcDbViewportTable* pViewportTable;
if (db.getViewportTable(pViewportTable, AcDb::kForRead)
== Acad::eOk)
{
// Find the first viewport and open it for write.
AcDbViewportTableRecord *pRecord;
if (pViewportTable->getAt(
"*ACTIVE", pRecord,
AcDb::kForWrite) == Acad::eOk)
{
pRecord->setCenterPoint(AcGePoint2d(0.5, 0.5));
pRecord->setHeight(1.0);
pRecord->setWidth(1.0);
pRecord->close();
}
pViewportTable->close();
}
回復 更多評論
只有注冊用戶登錄后才能發表評論。 | ||
【推薦】100%開源!大型工業跨平臺軟件C++源碼提供,建模,組態!
![]() |
||
相關文章:
|
||
網站導航:
博客園
IT新聞
BlogJava
博問
Chat2DB
管理
|
||
|