API Reference > OdDb Classes > OdDbBlockTable Class > OdDbBlockTable Methods > getAt Method > OdDbBlockTable::getAt Method (OdString&, bool)
OdDbBlockTable::getAt Method (OdString&, bool)
Syntax
C++
virtual OdDbObjectId getAt(const OdString& recordName, bool getErasedRecord = false) const;
Parameters 
Description 
const OdString& recordName 
[in] Record name.  
bool getErasedRecord = false 
[in] If and only if true, erased records will be opened or retrieved. 
openMode 
[in] Mode in which to open the record.  

A smart pointer to the object if successful, otherwise a null smart pointer.

Searches the named record object in the predefined table object using the specified name and opens it in the specified mode. 

 

Copyright © 2002–2021. Open Design Alliance. All rights reserved.