API Reference > OdDb Classes > OdDbLongTransaction Class > OdDbLongTransaction Methods > OdDbLongTransaction::addToWorkSet Method
OdDbLongTransaction::addToWorkSet Method
Syntax
C++
OdResult addToWorkSet(OdDbObjectId ObjectId);
Parameters 
Description 
objectId 
[in] Object ID to be added. 

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

objectId must be in the same database as the the transaction. 

objectId can specify objects from either the origin block or destination block. Objects from the destination block will be cloned; objects from the origin block will not.

Adds the specified object to the current work set. 

 

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