Close

Relief for ODA Team in Ukraine

Learn more
ODA Drawings SDK
OdDbEntity::subSwapIdWith Method
Syntax
C++
void subSwapIdWith(const OdDbObjectId& otherId, bool swapXdata = false, bool swapExtDict = false);

This function is called as the first operation of the swapIdWith() function. 

 

Parameters
Description
otherId
[in] Object ID of object with which to swap.
swapXdata
[in] XData will be swaped if and only if swapXData is true.
swapExtDict
[in] Extension dictionaries will be swapped if and only if swapExtDict is true.

This function allows derived classes to implement custom behavior during the swapIdWith operation. 

The default implementation of this function does nothing. This function can be overridden in custom classes.

Copyright © 2002-2022. Open Design Alliance All rights reserved.