API Reference > OdDb Classes > OdDbGeoData Class > OdDbGeoData Methods > OdDbGeoData::postToDb Method
OdDbGeoData::postToDb Method
Syntax
C++
OdResult postToDb(OdDbObjectId& objId);
Parameters 
Description 
OdDbObjectId& objId 
[out] Object ID of the posted OdDbGeoData object.
 

Returns eOK if successful, or an appropriate error code if not.

Posts this OdDbGeoData object to the database. 

 

Call the setBlockTableRecordId() method to set the block table record before calling the postToDb() method.

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