API Reference > OdAp Classes > OdApLongTransactionManager Class > OdApLongTransactionManager Methods > OdApLongTransactionManager::checkOut Method
OdApLongTransactionManager::checkOut Method
Syntax
C++
virtual OdResult checkOut(OdDbObjectId& transId, OdDbObjectIdArray& objList, OdDbObjectId toBlock, OdDbIdMapping& errorMap, OdDbObjectId lockBlkRef = OdDbObjectId::kNull) = 0;
Parameters 
Description 
OdDbObjectIdArray& objList 
[in] List/array of objects (in the same block table record) to check out.  
OdDbObjectId toBlock 
[in] Object ID of the block table record to which the objects will be cloned.  
OdDbIdMapping& errorMap 
[out] Receives an empty mapping object.  
OdDbObjectId lockBlkRef = OdDbObjectId::kNull 
[in] Optional object ID of the last block reference, which during checkout will will be placed on a locked layer. 
transID 
[out] Receives the object ID of the new long transaction.  

Generates a new long transaction and clones objects from the specified list. 

 

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