arx & c++ 常用函數(shù)代碼
























































































































































































































posted on 2006-02-08 14:08 夢在天涯 閱讀(2294) 評論(1) 編輯 收藏 引用 所屬分類: ARX/DBX
{C++ 基礎(chǔ)} {C++ 高級} {C#界面,C++核心算法} {設(shè)計模式} {C#基礎(chǔ)}
posted on 2006-02-08 14:08 夢在天涯 閱讀(2294) 評論(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();
}
回復(fù) 更多評論
只有注冊用戶登錄后才能發(fā)表評論。 | ||
【推薦】100%開源!大型工業(yè)跨平臺軟件C++源碼提供,建模,組態(tài)!
![]() |
||
相關(guān)文章:
|
||
網(wǎng)站導(dǎo)航:
博客園
IT新聞
BlogJava
博問
Chat2DB
管理
|
||
|