Hi all!
How can I get the AcDbViewportTableRecord in which the user
clicked last, the one which is currently active for drawing?
My Problem is, that I have inserted three AcDbViewportTableRecords
in my drawing and now I want to know the "viewDirection" of the
currently active.
How can I do this?
Code snip:
for(pIter->start(); !pIter->done(); pIter->step()){
if(pIter->getRecord(pTableRecord, AcDb::kForRead) ==
Acad::eOk){
szName = NULL;
pTableRecord->getName(szName);
normal = pTableRecord->viewDirection();
pTableRecord->close();
}
}
With this code I get all three Records and all three have
the name "*Active".
thanks in advance
Markus