Close

Relief for ODA Team in Ukraine

Learn more
ODA Drawings SDK
OdDbObject::swapIdWith Method
Syntax
C++
void swapIdWith(OdDbObjectId otherId, bool swapXdata = false, bool swapExtDict = false);

Swaps the objectIDs, handles, XData,and extension dictionary between this object and another object. 

 

Parameters
Description
otherId
[in] Object ID of object with which to swap.
swapXdata
[in] XData will be swapped if and only if swapXData is true.
swapExtDict
[in] Extension dictionaries will be swapped if and only if swapExtDict is true.
Copyright © 2002-2022. Open Design Alliance All rights reserved.