API Reference > Functions > oddbEntGet Function
oddbEntGet Function
Syntax
C++
DBIO_EXPORT OdResBufPtr oddbEntGet(const OdDbObject* pObj, const OdString& regapps = OdString::kEmpty);

DbObject.h

Parameters 
Description 
const OdDbObject* pObj 
[in] Pointer to the object.  
const OdString& regapps = OdString::kEmpty 
[in] Registered application name to retrieve extended data for. May be a wildcard or comma separated list. If empty - no XData is returned. 
id 
[in] Object ID of the object.  

Returns the data for the specified object. 

 

Each OdResBuf in the list contains a single DXF group code and data value pertaining to the object. 

The object is opened in kForRead mode, and the returned list of data is independent of the original object (it may be modified or deleted without affecting the original object). To affect changes in the original object via the returned OdResBuf data, oddbEntMod must be called.

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